mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-05 14:30:00 +01:00
avformat/iamf_parse: fix compilation error
Regression since a2a6728285.
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user