aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2014-04-16 23:36:55 +0200
committerNicolas George <george@nsup.org>2014-04-29 13:24:18 +0200
commit1bf63964985e4964d812c1516379707a0868ecb6 (patch)
treead98febbcc05017b7aad97db76da280fd1761bd8 /libavcodec/avcodec.h
parent6ea1196673b769d65b378822566e639d0d5497b7 (diff)
downloadffmpeg-1bf63964985e4964d812c1516379707a0868ecb6.tar.gz
lavc: add a mime_types field to codec descriptors.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 5ac2eee992..1d42bbe0fa 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -571,6 +571,13 @@ typedef struct AVCodecDescriptor {
* Codec properties, a combination of AV_CODEC_PROP_* flags.
*/
int props;
+
+ /**
+ * MIME type(s) associated with the codec.
+ * May be NULL; if not, a NULL-terminated array of MIME types.
+ * The first item is always non-NULL and is the prefered MIME type.
+ */
+ const char *const *mime_types;
} AVCodecDescriptor;
/**