提交 5bedbc3d 编写于 作者: M Michael Niedermayer

avcodec/diracdec: remove unneeded assignment

Found-by: CSA
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 590c2996
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册