mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 05:24:42 +00:00
avformat/iamfdec: don't set individual streams as dependent
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
cc9843dc33
commit
2d33f66f9a
@ -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…
Reference in New Issue
Block a user