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

Git pushed a commit to branch master
in repository ffmpeg.

commit dd020e10254c85893e16f3f3637467ded4d415cc
Author:     Alexander Slobodeniuk <[email protected]>
AuthorDate: Thu Apr 16 19:56:17 2026 +0200
Commit:     Marton Balint <[email protected]>
CommitDate: Sun May 3 20:10:26 2026 +0000

    avformat/mpegts: simplify ac3/eac3 descriptor handling
    
    those lines are literally the same, so removing the
    code duplication
---
 libavformat/mpegts.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 42f528822e..9c04d953c4 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -2322,19 +2322,6 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, 
AVStream *st, int stream_type
         }
         break;
     case AC3_DESCRIPTOR:
-        {
-            int component_type_flag = get8(pp, desc_end) & (1 << 7);
-            if (component_type_flag) {
-                int component_type = get8(pp, desc_end);
-                int service_type_mask = 0x38;  // 0b00111000
-                int service_type = ((component_type & service_type_mask) >> 3);
-                if (service_type == 0x02 /* 0b010 */) {
-                    st->disposition |= AV_DISPOSITION_DESCRIPTIONS;
-                    av_log(ts ? ts->stream : fc, AV_LOG_DEBUG, "New track 
disposition for id %u: %u\n", st->id, st->disposition);
-                }
-            }
-        }
-        break;
     case ENHANCED_AC3_DESCRIPTOR:
         {
             int component_type_flag = get8(pp, desc_end) & (1 << 7);

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

Reply via email to