aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-02-09 22:04:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-02-09 22:04:34 +0000
commita5037227501dc4f7528684beecee954360cbd7dd (patch)
tree95aa0c7443a7e451dfdeadf87abaadc0f415ae10
parent3b49f69077dc93e41380478c1a267c5bd85123ae (diff)
downloadffmpeg-a5037227501dc4f7528684beecee954360cbd7dd.tar.gz
Fix: libavcodec/msmpeg4.c:1612: warning: ‘dc_pred_dir’ may be used uninitialized in this function
Originally committed as revision 17106 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/msmpeg4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index b08a8ead23..87866a26d4 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -1609,7 +1609,7 @@ int ff_msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
int n, int coded, const uint8_t *scan_table)
{
int level, i, last, run, run_diff;
- int dc_pred_dir;
+ int av_uninit(dc_pred_dir);
RLTable *rl;
RL_VLC_ELEM *rl_vlc;
int qmul, qadd;