[FFmpeg-cvslog] avcodec/diracdec: remove unneeded assignment

Michael Niedermayer git at videolan.org
Thu Jul 31 20:42:17 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul 31 20:40:10 2014 +0200| [5bedbc3da281b6ee53593de1d4ff5cd3976da199] | committer: Michael Niedermayer

avcodec/diracdec: remove unneeded assignment

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5bedbc3da281b6ee53593de1d4ff5cd3976da199
---

 libavcodec/diracdec.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
index 30e6138..f673397 100644
--- a/libavcodec/diracdec.c
+++ b/libavcodec/diracdec.c
@@ -1959,7 +1959,6 @@ static int dirac_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
             int min_num = s->delay_frames[0]->avframe->display_picture_number;
             /* Too many delayed frames, so we display the frame with the lowest pts */
             av_log(avctx, AV_LOG_ERROR, "Delay frame overflow\n");
-            delayed_frame = s->delay_frames[0];
 
             for (i = 1; s->delay_frames[i]; i++)
                 if (s->delay_frames[i]->avframe->display_picture_number < min_num)



More information about the ffmpeg-cvslog mailing list