avformat/iamfdec: don't set individual streams as dependent

Signed-off-by: James Almer <jamrial@gmail.com>
pull/391/head
James Almer 2 months ago
parent cc9843dc33
commit 2d33f66f9a
  1. 2
      libavformat/iamfdec.c

@ -109,7 +109,7 @@ static int iamf_read_header(AVFormatContext *s)
if (!i && !j && audio_element->layers[0].substream_count == 1)
st->disposition |= AV_DISPOSITION_DEFAULT;
else
else if (audio_element->nb_layers > 1 || audio_element->layers[0].substream_count > 1)
st->disposition |= AV_DISPOSITION_DEPENDENT;
st->id = substream->audio_substream_id;
avpriv_set_pts_info(st, 64, 1, st->codecpar->sample_rate);

Loading…
Cancel
Save