diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-18 23:52:32 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-18 23:52:32 +0000 |
commit | 17779f39b684cd8e545768155c37e97e604489b8 (patch) | |
tree | dde4bac37df108d8f3c78dcde0caa54871c36888 | |
parent | 04618b98e361951f550b3970865803a875f4a8f0 (diff) | |
download | ffmpeg-17779f39b684cd8e545768155c37e97e604489b8.tar.gz |
Remove unacceptable NULL pointer hack from mc code.
Originally committed as revision 16225 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/h264.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 7431e3783f..7d14d04fe9 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; |