Revert r11689 and r11690 (uninitalized warning fix) as its theoretically
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 31 Jan 2008 14:01:33 +0000 (14:01 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 31 Jan 2008 14:01:33 +0000 (14:01 +0000)
undefined in C.

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

libavcodec/h263.c

index d351055..6262c94 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 n, int coded, int intra, int rvlc)
 {
     int level, i, last, run;
-    int dc_pred_dir= dc_pred_dir; //weird init to prevent uninitalized warning
+    int dc_pred_dir;
     RLTable * rl;
     RL_VLC_ELEM * rl_vlc;
     const uint8_t * scan_table;
     RLTable * rl;
     RL_VLC_ELEM * rl_vlc;
     const uint8_t * scan_table;