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>
release/7.0
James Almer 11 months ago
parent 59981b47db
commit d78c75fe49
  1. 2
      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);

Loading…
Cancel
Save