changeset 3219:cf233efbcece libavcodec

10l in 1.199 (write_back_motion with B-pyramid + spatial)
author lorenm
date Sat, 25 Mar 2006 09:46:43 +0000
parents b2ffd9fb4153
children a931984ec6ab
files h264.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Sat Mar 25 08:41:14 2006 +0000
+++ b/h264.c	Sat Mar 25 09:46:43 2006 +0000
@@ -1422,6 +1422,9 @@
     const int b8_xy= 2*s->mb_x + 2*s->mb_y*h->b8_stride;
     int list;
 
+    if(!USES_LIST(mb_type, 0))
+        fill_rectangle(&s->current_picture.ref_index[0][b8_xy], 2, 2, h->b8_stride, (uint8_t)LIST_NOT_USED, 1);
+
     for(list=0; list<2; list++){
         int y;
         if(!USES_LIST(mb_type, list))