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 */ {