summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-12-18 23:52:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-12-18 23:52:32 +0000
commit17779f39b684cd8e545768155c37e97e604489b8 (patch)
treedde4bac37df108d8f3c78dcde0caa54871c36888 /libavcodec
parent04618b98e361951f550b3970865803a875f4a8f0 (diff)
Remove unacceptable NULL pointer hack from mc code.
Originally committed as revision 16225 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c3
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;