From 4b38df82c25cac0234eeb5e6d7844370262d1d7a Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 7 Apr 2016 20:40:52 +0200 Subject: [PATCH] lavf/mpegts: add ID3 entry to the REGD_types array This allows to recognize ID3 packets from their corresponding descriptor tag. --- libavformat/mpegts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index f780ef544d..203d79b2a8 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -738,6 +738,7 @@ static const StreamType REGD_types[] = { { MKTAG('E', 'A', 'C', '3'), AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_EAC3 }, { MKTAG('H', 'E', 'V', 'C'), AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_HEVC }, { MKTAG('K', 'L', 'V', 'A'), AVMEDIA_TYPE_DATA, AV_CODEC_ID_SMPTE_KLV }, + { MKTAG('I', 'D', '3', ' '), AVMEDIA_TYPE_DATA, AV_CODEC_ID_TIMED_ID3 }, { MKTAG('V', 'C', '-', '1'), AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_VC1 }, { MKTAG('O', 'p', 'u', 's'), AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_OPUS }, { 0 },