OSDN Git Service

fixing uninitalized dc_pred_dir
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Mar 2006 18:40:41 +0000 (18:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Mar 2006 18:40:41 +0000 (18:40 +0000)
this needs testing (no files with intra_dc_threshold and vissible ac_pred errors here)

Originally committed as revision 5137 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263.c

index 4af0b90..74e3b9e 100644 (file)
@@ -4756,6 +4756,7 @@ static inline int mpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
         i = 0;
       }else{
             i = -1;
+            ff_mpeg4_pred_dc(s, n, 0, &dc_pred_dir, 0);
       }
         if (!coded)
             goto not_coded;