[FFmpeg-cvslog] lavc: add AV_CODEC_ID_BIN_DATA.

Nicolas George git at videolan.org
Tue Apr 29 19:43:50 CEST 2014


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Wed Apr 16 19:34:24 2014 +0200| [6ea1196673b769d65b378822566e639d0d5497b7] | committer: Nicolas George

lavc: add AV_CODEC_ID_BIN_DATA.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6ea1196673b769d65b378822566e639d0d5497b7
---

 libavcodec/avcodec.h    |    1 +
 libavcodec/codec_desc.c |    6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 9a14e66..5ac2eee 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 e461a10..6dba01e 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 */
     {



More information about the ffmpeg-cvslog mailing list