Commit cd141f4c authored by Nick Kurshev's avatar Nick Kurshev

1001L

Originally committed as revision 761 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 225f9c44
......@@ -2633,12 +2633,12 @@ static int svq1_decode_frame(AVCodecContext *avctx,
}
}
pict->data[i] = s->current_picture[i];
pict->linesize[i] = width;
/* update backward reference frame */
if (!s->hurry_up)
if (s->pict_type != SVQ1_FRAME_DROPPABLE)
{
uint8_t *tmp = s->last_picture[i];
pict->data[i] = s->current_picture[i];
pict->linesize[i] = width;
s->last_picture[i] = s->current_picture[i];
s->current_picture[i] = tmp;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment