[FFmpeg-cvslog] avcodec/libaomenc: remove variable redefinition
James Almer
git at videolan.org
Fri Apr 5 20:57:48 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Apr 5 14:57:22 2024 -0300| [81b3a82fae0d85f7a06e822355e12228be477d56] | committer: James Almer
avcodec/libaomenc: remove variable redefinition
Missed in 5e0eac3d4566839598f6d6fe5d77770023d6713a.
Reported-by: Niklas Haas <ffmpeg at haasn.xyz>
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=81b3a82fae0d85f7a06e822355e12228be477d56
---
libavcodec/libaomenc.c | 1 -
1 file changed, 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list