diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-07 17:53:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-07 17:54:03 +0200 |
commit | a6e9448dc6971ba4e196656de3e6cd7bcac2cb8f (patch) | |
tree | ce21864bebc7bb013f4041a27318260f8ccf49f5 /libavcodec/cinepakenc.c | |
parent | a779602584b43578e8baa69b367ba7d64e973dd0 (diff) | |
download | ffmpeg-a6e9448dc6971ba4e196656de3e6cd7bcac2cb8f.tar.gz |
avcodec/cinepakenc: Zero AVPictures, silence "may be used uninitialized" warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cinepakenc.c')
-rw-r--r-- | libavcodec/cinepakenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c index 9f990dbe50..5b18dfd82b 100644 --- a/libavcodec/cinepakenc.c +++ b/libavcodec/cinepakenc.c @@ -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 |