From cb666260a05bfbd7a3ceb1be21dd97848d3ede7c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 10 Mar 2006 18:40:41 +0000 Subject: [PATCH] fixing uninitalized dc_pred_dir 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 4af0b90442..74e3b9eb0d 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -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;