The branch, release/7.1 has been updated
       via  f65fc0b13754c94d6185b1b18e604b8129d4f774 (commit)
      from  c0e599e9d83a80cf1002c62684ecd90ae8776efd (commit)


- Log -----------------------------------------------------------------
commit f65fc0b13754c94d6185b1b18e604b8129d4f774
Author:     James Almer <[email protected]>
AuthorDate: Fri Nov 28 09:51:36 2025 -0300
Commit:     James Almer <[email protected]>
CommitDate: Fri Nov 28 09:51:36 2025 -0300

    avformat/iamf_parse: fix compilation error
    
    Regression since a2a67282859904283f1008e1ce0a7f6bc1e71757.
    
    Signed-off-by: James Almer <[email protected]>

diff --git a/libavformat/iamf_parse.c b/libavformat/iamf_parse.c
index 8ea9616ec7..8fe7e1bb0e 100644
--- 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++) {

-----------------------------------------------------------------------

Summary of changes:
 libavformat/iamf_parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to