mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
avcodec/cinepakenc: Zero AVPictures, silence "may be used uninitialized" warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a779602584
commit
a6e9448dc6
@ -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…
Reference in New Issue
Block a user