Browse Source

avcodec/libxvid: Fix use of uninitialized AVPacket fields

Fixes CID1361964

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Michael Niedermayer 9 years ago
parent
commit
0b9b3163f2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libxvid.c

+ 1
- 1
libavcodec/libxvid.c View File

@@ -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…
Cancel
Save