[SCM] libav/experimental: Revert r11689 and r11690 (uninitalized warning fix) as its theoretically undefined in C.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:12:46 UTC 2013


The following commit has been merged in the experimental branch:
commit 3485b9cdda2274b2a554b2f0d24db09a20bcb54b
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Thu Jan 31 14:01:33 2008 +0000

    Revert r11689 and r11690 (uninitalized warning fix) as its theoretically
    undefined in C.
    
    Originally committed as revision 11694 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index d351055..6262c94 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -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; //weird init to prevent uninitalized warning
+    int dc_pred_dir;
     RLTable * rl;
     RL_VLC_ELEM * rl_vlc;
     const uint8_t * scan_table;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list