You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/mov: fix setting disposition for the first iamf stream
st->disposition will be overwritten with disposition later in the function. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -946,7 +946,7 @@ static int mov_read_iacb(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
|
||||
if (!i && !j) {
|
||||
if (audio_element->layers[0].substream_count != 1)
|
||||
st->disposition &= ~AV_DISPOSITION_DEFAULT;
|
||||
disposition &= ~AV_DISPOSITION_DEFAULT;
|
||||
stream = st;
|
||||
} else
|
||||
stream = avformat_new_stream(c->fc, NULL);
|
||||
|
Reference in New Issue
Block a user