diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 50d1ffa57b72337da23b5b7bcf3118c8d514665c..8530cc867dc593db7cf81f9f6fc8a51b20f2c9bb 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -601,6 +601,8 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len reg_desc = bytestream_get_le32(&p); if(reg_desc == AV_RL32("drac")) has_dirac_descr = 1; + else if(reg_desc == AV_RL32("AC-3")) + stream_type = STREAM_TYPE_AUDIO_AC3; break; default: break;