summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-04-05 14:57:22 -0300
committerJames Almer <jamrial@gmail.com>2024-04-05 14:57:29 -0300
commit81b3a82fae0d85f7a06e822355e12228be477d56 (patch)
treea2dafdeeeb707be860c4e46551e9cd9c6f5f72ee
parent5e0eac3d4566839598f6d6fe5d77770023d6713a (diff)
avcodec/libaomenc: remove variable redefinition
Missed in 5e0eac3d4566839598f6d6fe5d77770023d6713a. Reported-by: Niklas Haas <ffmpeg@haasn.xyz> Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/libaomenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c
index d2bdb622e0..4a71bba9c9 100644
--- a/libavcodec/libaomenc.c
+++ b/libavcodec/libaomenc.c
@@ -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;