aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-06-03 14:16:47 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-06-08 13:03:10 +0100
commitf7e932473314e6ca4c851d49cbde8570b6e66383 (patch)
treebf7623d1332e8a92cd1946e68500801d962e92f9
parent8ef98855d25e457094468e2e1a79d9b10d6445b2 (diff)
downloadffmpeg-f7e932473314e6ca4c851d49cbde8570b6e66383.tar.gz
audiointerleave: Always initialize new_pkt
CC: libav-stable@libav.org Bug-Id: CID 609333
-rw-r--r--libavformat/audiointerleave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/audiointerleave.c b/libavformat/audiointerleave.c
index ba78d4e988..fd07893b5c 100644
--- a/libavformat/audiointerleave.c
+++ b/libavformat/audiointerleave.c
@@ -127,7 +127,7 @@ int ff_audio_rechunk_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt
for (i = 0; i < s->nb_streams; i++) {
AVStream *st = s->streams[i];
if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO) {
- AVPacket new_pkt;
+ AVPacket new_pkt = { 0 };
while (interleave_new_audio_packet(s, &new_pkt, i, flush))
if ((ret = ff_interleave_add_packet(s, &new_pkt, compare_ts)) < 0)
return ret;