diff options
author | James Almer <jamrial@gmail.com> | 2024-12-10 14:07:09 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-12-13 16:36:10 -0300 |
commit | 2d33f66f9ac85b3b58280e27793a2b7aa47dc054 (patch) | |
tree | ea8aa2cf341c6e1f3166b37c805e68170a5a3c97 | |
parent | cc9843dc33bc1ced3e03e28d145ff7a9ce8d27c7 (diff) | |
download | ffmpeg-2d33f66f9ac85b3b58280e27793a2b7aa47dc054.tar.gz |
avformat/iamfdec: don't set individual streams as dependent
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/iamfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/iamfdec.c b/libavformat/iamfdec.c index ce6d4aa064..ec80000e36 100644 --- a/libavformat/iamfdec.c +++ b/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); |