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

mpeg4videodec: Fix "warning: dc_pred_dir may be used uninitialized in this function"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-09-09 03:15:46 +02:00
parent 59fdf543d5
commit d48ebfbdea

View File

@ -847,7 +847,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; int av_uninit(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;