msmpeg4enc: fix possible use of uninitialized warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-12-29 03:06:08 +01:00
parent 2fbc8ea08e
commit e0a99d5411
1 changed files with 1 additions and 1 deletions

View File

@ -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;