1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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;