avcodec/diracdec: remove unneeded assignment

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-07-31 20:40:10 +02:00
parent 590c2996ee
commit 5bedbc3da2
1 changed files with 0 additions and 1 deletions

View File

@ -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)