projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e599e
)
avformat/iamf_parse: fix compilation error
release/7.1
author
James Almer
<jamrial@gmail.com>
Fri, 28 Nov 2025 12:51:36 +0000
(09:51 -0300)
committer
James Almer
<jamrial@gmail.com>
Fri, 28 Nov 2025 12:51:36 +0000
(09:51 -0300)
Regression since
a2a67282859904283f1008e1ce0a7f6bc1e71757
.
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/iamf_parse.c
patch
|
blob
|
history
diff --git
a/libavformat/iamf_parse.c
b/libavformat/iamf_parse.c
index 8ea9616ec71e8bedaf791d40a1acccd6ca5a9bbf..8fe7e1bb0e844c557928a602aa0eb6b60c137fa8 100644
(file)
--- a/
libavformat/iamf_parse.c
+++ b/
libavformat/iamf_parse.c
@@
-398,7
+398,7
@@
static int scalable_channel_layout_config(void *s, AVIOContext *pb,
.nb_channels = substream_count +
coupled_substream_count };
- if (i && ch_layout.nb_channels <= audio_element->element->layers[i-1]->ch_layout.nb_channels)
+ if (i &&
layer->
ch_layout.nb_channels <= audio_element->element->layers[i-1]->ch_layout.nb_channels)
return AVERROR_INVALIDDATA;
for (int j = 0; j < substream_count; j++) {