aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/msmpeg4enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-29 03:06:08 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-29 03:07:45 +0100
commite0a99d54111165eb83991945fed0568556cb0efe (patch)
treecb319275d93155bed2f6cb467980b77ef7de3b39 /libavcodec/msmpeg4enc.c
parent2fbc8ea08ed44c77312a0722c6aac25713f19f2f (diff)
downloadffmpeg-e0a99d54111165eb83991945fed0568556cb0efe.tar.gz
msmpeg4enc: fix possible use of uninitialized warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/msmpeg4enc.c')
-rw-r--r--libavcodec/msmpeg4enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msmpeg4enc.c b/libavcodec/msmpeg4enc.c
index 458ec09526..71b84df739 100644
--- a/libavcodec/msmpeg4enc.c
+++ b/libavcodec/msmpeg4enc.c
@@ -494,7 +494,7 @@ void ff_msmpeg4_encode_mb(MpegEncContext * s,
static void msmpeg4_encode_dc(MpegEncContext * s, int level, int n, int *dir_ptr)
{
int sign, code;
- int pred, extquant;
+ int pred, av_uninit(extquant);
int extrabits = 0;
int16_t *dc_val;