Merge commit 'f7e9324733'
* commit 'f7e9324733':
audiointerleave: Always initialize new_pkt
Conflicts:
libavformat/audiointerleave.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d1f7b313ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue