From 17779f39b684cd8e545768155c37e97e604489b8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 18 Dec 2008 23:52:32 +0000 Subject: [PATCH] Remove unacceptable NULL pointer hack from mc code. Originally committed as revision 16225 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 7431e37..7d14d04 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1605,9 +1605,6 @@ 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_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; -- 2.7.4