changeset 8392:ee23da1a0c74 libavcodec

Remove unacceptable NULL pointer hack from mc code.
author michael
date Thu, 18 Dec 2008 23:52:32 +0000
parents c1eb379daf90
children 64a0415da32f
files h264.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Thu Dec 18 23:31:10 2008 +0000
+++ b/h264.c	Thu Dec 18 23:52:32 2008 +0000
@@ -1605,9 +1605,6 @@
     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;