summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-11 15:32:27 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-18 08:48:30 +0200
commit91e59fea30f57af7abd1ad6a68a8f6663805ee44 (patch)
tree70b46a72c2356052cc7c41be3fa497c156386875 /libavcodec/avcodec.h
parent0a0f19b577d54ff2e72cc9a0fe027952db83f332 (diff)
downloadffmpeg-91e59fea30f57af7abd1ad6a68a8f6663805ee44.tar.gz
lavc: add avcodec_descriptor_get_by_name().
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index b6917a0a7d..9658b67ab6 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -4549,6 +4549,12 @@ const AVCodecDescriptor *avcodec_descriptor_get(enum AVCodecID id);
const AVCodecDescriptor *avcodec_descriptor_next(const AVCodecDescriptor *prev);
/**
+ * @return codec descriptor with the given name or NULL if no such descriptor
+ * exists.
+ */
+const AVCodecDescriptor *avcodec_descriptor_get_by_name(const char *name);
+
+/**
* @}
*/