diff options
author | James Almer <jamrial@gmail.com> | 2024-03-03 13:45:40 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-03-04 20:17:41 -0300 |
commit | d78c75fe49a8b2eb6704a66b1a914b96bf9ad46b (patch) | |
tree | a3e3ac1108154c6476fdfce1e5ba6fb4c5dc01a9 /libavformat | |
parent | 59981b47db438bb402eb8fb97aab9a9b1b339b61 (diff) | |
download | ffmpeg-d78c75fe49a8b2eb6704a66b1a914b96bf9ad46b.tar.gz |
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>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index e07f2a1ada..7a09017020 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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); |