aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/audiointerleave.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-08 22:37:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-08 22:37:41 +0200
commitd1f7b313ac3476e4b00f550e470f9f8429919299 (patch)
tree3d24a2319f6ed857de556a84249ee6730cd18275 /libavformat/audiointerleave.c
parent01a6ae1396b5c96d23da40fe082d0f510fcab388 (diff)
parentf7e932473314e6ca4c851d49cbde8570b6e66383 (diff)
downloadffmpeg-d1f7b313ac3476e4b00f550e470f9f8429919299.tar.gz
Merge commit 'f7e932473314e6ca4c851d49cbde8570b6e66383'
* commit 'f7e932473314e6ca4c851d49cbde8570b6e66383': audiointerleave: Always initialize new_pkt Conflicts: libavformat/audiointerleave.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/audiointerleave.c')
-rw-r--r--libavformat/audiointerleave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/audiointerleave.c b/libavformat/audiointerleave.c
index b64010ff44..6d1401d721 100644
--- a/libavformat/audiointerleave.c
+++ b/libavformat/audiointerleave.c
@@ -132,7 +132,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 ((ret = interleave_new_audio_packet(s, &new_pkt, i, flush)) > 0) {
if ((ret = ff_interleave_add_packet(s, &new_pkt, compare_ts)) < 0)
return ret;