intra16x16 fix
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 29 Nov 2003 00:19:24 +0000 (00:19 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 29 Nov 2003 00:19:24 +0000 (00:19 +0000)
Originally committed as revision 2539 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index fe49c0f..afd9302 100644 (file)
@@ -3565,7 +3565,7 @@ decode_intra_mb:
                     }
                 }
             }else{
-                memset(&h->non_zero_count_cache[8], 0, 8*4); //FIXME stupid & slow
+                fill_rectangle(&h->non_zero_count_cache[scan8[0]], 4, 4, 8, 0, 1);
             }
         }else{
             for(i8x8=0; i8x8<4; i8x8++){