aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorNick Kurshev <nickols_k@mail.ru>2002-07-15 07:43:22 +0000
committerNick Kurshev <nickols_k@mail.ru>2002-07-15 07:43:22 +0000
commitcd141f4c22175b7ef976e4ad351afafd2e7838a3 (patch)
treeabf30e2cca7c06b6a7f430311cc99f41f01db892 /libavcodec
parent225f9c44cf85592ad63a06450e678775a86649ff (diff)
downloadffmpeg-cd141f4c22175b7ef976e4ad351afafd2e7838a3.tar.gz
1001L
Originally committed as revision 761 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/svq1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c
index fe97970016..6922614fd9 100644
--- a/libavcodec/svq1.c
+++ b/libavcodec/svq1.c
@@ -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;
}