OSDN Git Service

flame
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Jan 2007 13:42:09 +0000 (13:42 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Jan 2007 13:42:09 +0000 (13:42 +0000)
Originally committed as revision 7664 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 4c2f6ac..2d75aaa 100644 (file)
@@ -2773,7 +2773,7 @@ static inline void mc_dir_part(H264Context *h, Picture *pic, int n, int square,
     const int pic_width  = 16*s->mb_width;
     const int pic_height = 16*s->mb_height >> MB_MBAFF;
 
-    if(!pic->data[0])
+    if(!pic->data[0]) //FIXME this is unacceptable, some senseable error concealment must be done for missing reference frames
         return;
 
     if(mx&7) extra_width -= 3;