changeset 555:fe951e388d34 libavcodec

1001L
author nickols_k
date Mon, 15 Jul 2002 07:43:22 +0000
parents 3eb6fe38019a
children 762c67fd4078
files svq1.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/svq1.c	Mon Jul 15 00:25:53 2002 +0000
+++ b/svq1.c	Mon Jul 15 07:43:22 2002 +0000
@@ -2633,12 +2633,12 @@
       }
     }
 
+    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;
     }