1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Michael Niedermayer 2008-01-31 14:01:33 +00:00
parent fa7343eaf2
commit 3485b9cdda

View File

@ -4727,7 +4727,7 @@ static inline int mpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
int n, int coded, int intra, int rvlc) int n, int coded, int intra, int rvlc)
{ {
int level, i, last, run; int level, i, last, run;
int dc_pred_dir= dc_pred_dir; //weird init to prevent uninitalized warning int dc_pred_dir;
RLTable * rl; RLTable * rl;
RL_VLC_ELEM * rl_vlc; RL_VLC_ELEM * rl_vlc;
const uint8_t * scan_table; const uint8_t * scan_table;