[FFmpeg-cvslog] r16225 - trunk/libavcodec/h264.c

michael subversion
Fri Dec 19 00:52:33 CET 2008


Author: michael
Date: Fri Dec 19 00:52:32 2008
New Revision: 16225

Log:
Remove unacceptable NULL pointer hack from mc code. 


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Fri Dec 19 00:52:32 2008
@@ -1605,9 +1605,6 @@ static inline void mc_dir_part(H264Conte
     const int pic_width  = 16*s->mb_width;
     const int pic_height = 16*s->mb_height >> MB_FIELD;
 
-    if(!pic->data[0]) //FIXME this is unacceptable, some sensible error concealment must be done for missing reference frames
-        return;
-
     if(mx&7) extra_width -= 3;
     if(my&7) extra_height -= 3;
 




More information about the ffmpeg-cvslog mailing list