aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-03-03 13:45:40 -0300
committerJames Almer <jamrial@gmail.com>2024-03-04 20:17:41 -0300
commitd78c75fe49a8b2eb6704a66b1a914b96bf9ad46b (patch)
treea3e3ac1108154c6476fdfce1e5ba6fb4c5dc01a9 /libavformat
parent59981b47db438bb402eb8fb97aab9a9b1b339b61 (diff)
downloadffmpeg-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.c2
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);