init to 0, fix warning: h263.c:4730: warning: 'dc_pred_dir' may be used uninitialized...
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Thu, 31 Jan 2008 00:05:44 +0000 (00:05 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Thu, 31 Jan 2008 00:05:44 +0000 (00:05 +0000)
Originally committed as revision 11677 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263.c

index 81cb3ea..a161619 100644 (file)
@@ -4727,7 +4727,7 @@ static inline int mpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
                               int n, int coded, int intra, int rvlc)
 {
     int level, i, last, run;
-    int dc_pred_dir;
+    int dc_pred_dir = 0;
     RLTable * rl;
     RL_VLC_ELEM * rl_vlc;
     const uint8_t * scan_table;