1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +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:
James Almer 2024-03-03 13:45:40 -03:00
parent 59981b47db
commit d78c75fe49

View File

@ -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);