mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/diracdec: remove unneeded assignment
Found-by: CSA Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
590c2996ee
commit
5bedbc3da2
|
@ -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;
|
int min_num = s->delay_frames[0]->avframe->display_picture_number;
|
||||||
/* Too many delayed frames, so we display the frame with the lowest pts */
|
/* Too many delayed frames, so we display the frame with the lowest pts */
|
||||||
av_log(avctx, AV_LOG_ERROR, "Delay frame overflow\n");
|
av_log(avctx, AV_LOG_ERROR, "Delay frame overflow\n");
|
||||||
delayed_frame = s->delay_frames[0];
|
|
||||||
|
|
||||||
for (i = 1; s->delay_frames[i]; i++)
|
for (i = 1; s->delay_frames[i]; i++)
|
||||||
if (s->delay_frames[i]->avframe->display_picture_number < min_num)
|
if (s->delay_frames[i]->avframe->display_picture_number < min_num)
|
||||||
|
|
Loading…
Reference in New Issue