diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-23 07:23:52 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-03 20:53:35 +0200 |
commit | fb4ca26bdbddfbbf21a2a212485d225438b4b234 (patch) | |
tree | 983d095575b393167fd7df1f2bd14e9f0ba9db39 /libavcodec/avcodec.h | |
parent | c11fb8288d282da430f598bb029deccbacb31591 (diff) | |
download | ffmpeg-fb4ca26bdbddfbbf21a2a212485d225438b4b234.tar.gz |
lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 73a68b9740..f30584cb98 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -4306,4 +4306,12 @@ int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)); */ enum AVMediaType avcodec_get_type(enum CodecID codec_id); +/** + * Get the AVClass for AVCodecContext. It can be used in combination with + * AV_OPT_SEARCH_FAKE_OBJ for examining options. + * + * @see av_opt_find(). + */ +const AVClass *avcodec_get_class(void); + #endif /* AVCODEC_AVCODEC_H */ |