This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/9.1
in repository ffmpeg.

commit 49aec135e0c8601a309cee9dd3edda91353b72a6
Author:     James Almer <[email protected]>
AuthorDate: Thu Oct 29 12:45:03 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Sat Oct 31 20:47:33 2026 -0300

    avformat/mpegtsenc: fix writing LCEVC_LINKAGE_DESCRIPTOR for HEVC streams
    
    There's a check for HEVC above, and it would prevent reaching this block.
    
    Signed-off-by: James Almer <[email protected]>
    (cherry picked from commit bb6b65ca4c155fec0c616cb6ee6e6b1a5b10f645)
---
 libavformat/mpegtsenc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index cbff92b046..f5150ce7bb 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -825,7 +825,8 @@ static int mpegts_write_pmt(AVFormatContext *s, 
MpegTSService *service)
             } else if (stream_type == STREAM_TYPE_VIDEO_CAVS || stream_type == 
STREAM_TYPE_VIDEO_AVS2 ||
                        stream_type == STREAM_TYPE_VIDEO_AVS3) {
                 put_registration_descriptor(&q, MKTAG('A', 'V', 'S', 'V'));
-            } else if (ts_st->nb_stream_groups) {
+            }
+            if (ts_st->nb_stream_groups) {
                 if (stream_type == STREAM_TYPE_VIDEO_LCEVC) {
                     LCEVCDecoderConfigurationRecord lvcc = { 0 };
                     ff_lcvec_parse_config_record(&lvcc, 
st->codecpar->extradata,

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to