mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/libxvid: Fix use of uninitialized AVPacket fields
Fixes CID1361964 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2c7fd0e36b
commit
0b9b3163f2
@ -713,7 +713,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
/* Encode a dummy frame to get the extradata immediately */
|
||||
if (x->quicktime_format) {
|
||||
AVFrame *picture;
|
||||
AVPacket packet;
|
||||
AVPacket packet = {0};
|
||||
int size, got_packet, ret;
|
||||
|
||||
av_init_packet(&packet);
|
||||
|
Loading…
Reference in New Issue
Block a user