Skip to content

Commit

Permalink
lavf/mpegts: add ID3 entry to the REGD_types array
Browse files Browse the repository at this point in the history
This allows to recognize ID3 packets from their corresponding descriptor
tag.
  • Loading branch information
saste committed May 19, 2016
1 parent 1ab8e03 commit 4b38df8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavformat/mpegts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 4b38df8

Please sign in to comment.