You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/cinepakenc: Zero AVPictures, silence "may be used uninitialized" warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -623,7 +623,7 @@ static int encode_mode(CinepakEncContext *s, int h, AVPicture *scratch_pict, AVP
|
|||||||
int needs_extra_bit, should_write_temp;
|
int needs_extra_bit, should_write_temp;
|
||||||
unsigned char temp[64]; //32/2 = 16 V4 blocks at 4 B each -> 64 B
|
unsigned char temp[64]; //32/2 = 16 V4 blocks at 4 B each -> 64 B
|
||||||
mb_info *mb;
|
mb_info *mb;
|
||||||
AVPicture sub_scratch, sub_last;
|
AVPicture sub_scratch = {{0}}, sub_last = {{0}};
|
||||||
|
|
||||||
//encode codebooks
|
//encode codebooks
|
||||||
////// MacOS vintage decoder compatibility dictates the presence of
|
////// MacOS vintage decoder compatibility dictates the presence of
|
||||||
|
Reference in New Issue
Block a user