aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2014-04-16 19:34:24 +0200
committerNicolas George <george@nsup.org>2014-04-29 13:24:18 +0200
commit6ea1196673b769d65b378822566e639d0d5497b7 (patch)
tree7183133ff25d177caa1f9c5b19b8df8e4091dc8b
parent892e2c2ad8ea2b2a154edc572276997df5d06dd0 (diff)
downloadffmpeg-6ea1196673b769d65b378822566e639d0d5497b7.tar.gz
lavc: add AV_CODEC_ID_BIN_DATA.
-rw-r--r--libavcodec/avcodec.h1
-rw-r--r--libavcodec/codec_desc.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 9a14e6654a..5ac2eee992 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -533,6 +533,7 @@ enum AVCodecID {
AV_CODEC_ID_SMPTE_KLV = MKBETAG('K','L','V','A'),
AV_CODEC_ID_DVD_NAV = MKBETAG('D','N','A','V'),
AV_CODEC_ID_TIMED_ID3 = MKBETAG('T','I','D','3'),
+ AV_CODEC_ID_BIN_DATA = MKBETAG('D','A','T','A'),
AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index e461a10826..6dba01ecb2 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -2702,6 +2702,12 @@ static const AVCodecDescriptor codec_descriptors[] = {
.name = "timed_id3",
.long_name = NULL_IF_CONFIG_SMALL("timed ID3 metadata"),
},
+ {
+ .id = AV_CODEC_ID_BIN_DATA,
+ .type = AVMEDIA_TYPE_DATA,
+ .name = "bin_data",
+ .long_name = NULL_IF_CONFIG_SMALL("binary data"),
+ },
/* deprecated codec ids */
{