Commit bc139b7812 for ffmpeg
commit bc139b7812ba60c0b676963fe4d2ae23ece1f0ed
Author: romainhedouin <romain.hedouin@epitech.eu>
Date: Wed Oct 14 20:02:06 2026 +0200
avcodec/mmaldec: Remove duplicate assignment of frame->width
frame->width was assigned twice in a row in ffmal_copy_frame().
Signed-off-by: romainhedouin <romain.hedouin@epitech.eu>
diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c
index e42591110f..0b2f57a51f 100644
--- a/libavcodec/mmaldec.c
+++ b/libavcodec/mmaldec.c
@@ -659,7 +659,6 @@ static int ffmal_copy_frame(AVCodecContext *avctx, AVFrame *frame,
frame->sample_aspect_ratio = avctx->sample_aspect_ratio;
frame->width = avctx->width;
- frame->width = avctx->width;
frame->height = avctx->height;
frame->format = avctx->pix_fmt;