avcodec/libaomenc: remove variable redefinition

Missed in 5e0eac3d45.

Reported-by: Niklas Haas <ffmpeg@haasn.xyz>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2024-04-05 14:57:22 -03:00
parent 5e0eac3d45
commit 81b3a82fae
1 changed files with 0 additions and 1 deletions

View File

@ -677,7 +677,6 @@ static av_cold int aom_init(AVCodecContext *avctx,
struct aom_codec_enc_cfg enccfg = { 0 };
aom_codec_flags_t flags =
(avctx->flags & AV_CODEC_FLAG_PSNR) ? AOM_CODEC_USE_PSNR : 0;
aom_codec_flags_t flags = 0;
AVCPBProperties *cpb_props;
int res;
aom_img_fmt_t img_fmt;