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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue