aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-09 03:15:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-09 03:15:46 +0200
commitd48ebfbdea50d7f3a4e61e772b92960ff7b8d4ea (patch)
treeab6c0ca9551cd33499c739374d0708c4d7cc36ed
parent59fdf543d515d208a9913c67d0df5a3a095976f4 (diff)
downloadffmpeg-d48ebfbdea50d7f3a4e61e772b92960ff7b8d4ea.tar.gz
mpeg4videodec: Fix "warning: dc_pred_dir may be used uninitialized in this function"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/mpeg4videodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index aac1ca129e..139f6d80da 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;