diff options
author | Nicolas George <george@nsup.org> | 2014-04-16 23:36:55 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2014-04-29 13:24:18 +0200 |
commit | 1bf63964985e4964d812c1516379707a0868ecb6 (patch) | |
tree | ad98febbcc05017b7aad97db76da280fd1761bd8 /libavcodec/avcodec.h | |
parent | 6ea1196673b769d65b378822566e639d0d5497b7 (diff) | |
download | ffmpeg-1bf63964985e4964d812c1516379707a0868ecb6.tar.gz |
lavc: add a mime_types field to codec descriptors.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 7 |
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; /** |