# HG changeset patch # User michael # Date 1229644352 0 # Node ID ee23da1a0c743546a0a19a2e0e77e017e997d3c8 # Parent c1eb379daf9079df0343cda82b3343a62bbdf962 Remove unacceptable NULL pointer hack from mc code. diff -r c1eb379daf90 -r ee23da1a0c74 h264.c --- 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;