Comment about weird warning prevention.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 31 Jan 2008 02:13:53 +0000 (02:13 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 31 Jan 2008 02:13:53 +0000 (02:13 +0000)
Originally committed as revision 11690 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263.c

index a285901a6cc41765b168d66ccd4d80bc2bb27932..d3510559e2e6b99946bdcec710810de5daf45ef6 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= dc_pred_dir;
+    int dc_pred_dir= dc_pred_dir; //weird init to prevent uninitalized warning
     RLTable * rl;
     RL_VLC_ELEM * rl_vlc;
     const uint8_t * scan_table;