diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-09 03:15:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-09 03:15:46 +0200 |
commit | d48ebfbdea50d7f3a4e61e772b92960ff7b8d4ea (patch) | |
tree | ab6c0ca9551cd33499c739374d0708c4d7cc36ed /libavcodec/mpeg4videodec.c | |
parent | 59fdf543d515d208a9913c67d0df5a3a095976f4 (diff) | |
download | ffmpeg-streaming-d48ebfbdea50d7f3a4e61e772b92960ff7b8d4ea.zip ffmpeg-streaming-d48ebfbdea50d7f3a4e61e772b92960ff7b8d4ea.tar.gz |
mpeg4videodec: Fix "warning: dc_pred_dir may be used uninitialized in this function"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg4videodec.c')
-rw-r--r-- | libavcodec/mpeg4videodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index aac1ca1..139f6d8 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -847,7 +847,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; + int av_uninit(dc_pred_dir); RLTable * rl; RL_VLC_ELEM * rl_vlc; const uint8_t * scan_table; |