Browse Source

avcodec/cinepakenc: Zero AVPictures, silence "may be used uninitialized" warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
a6e9448dc6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cinepakenc.c

+ 1
- 1
libavcodec/cinepakenc.c View File

@@ -623,7 +623,7 @@ static int encode_mode(CinepakEncContext *s, int h, AVPicture *scratch_pict, AVP
int needs_extra_bit, should_write_temp;
unsigned char temp[64]; //32/2 = 16 V4 blocks at 4 B each -> 64 B
mb_info *mb;
AVPicture sub_scratch, sub_last;
AVPicture sub_scratch = {{0}}, sub_last = {{0}};

//encode codebooks
////// MacOS vintage decoder compatibility dictates the presence of


Loading…
Cancel
Save