diff options
author | tab <tab@0x09.net> | 2015-09-06 11:07:20 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-07 02:48:58 +0200 |
commit | fb135139fd3992eb1f0eacc9cfd878e05b95ec46 (patch) | |
tree | c08840b331cd163c87f5dee44fb7cbf3a9db438e /libavformat/img2.h | |
parent | b480f0e37a4297f19ab9e2244a232ba9d5baf499 (diff) | |
download | ffmpeg-fb135139fd3992eb1f0eacc9cfd878e05b95ec46.tar.gz |
avformat: implement query_codec for the image2 muxer.
Allows avformat_query_codec to be used to check for valid image2 encoders.
Reuses the existing ff_guess_image2_codec ID table.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/img2.h')
-rw-r--r-- | libavformat/img2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/img2.h b/libavformat/img2.h index f6b9dd9220..deebcc34a7 100644 --- a/libavformat/img2.h +++ b/libavformat/img2.h @@ -62,6 +62,13 @@ typedef struct VideoDemuxData { int ts_from_file; } VideoDemuxData; +typedef struct IdStrMap { + enum AVCodecID id; + const char *str; +} IdStrMap; + +extern const IdStrMap ff_img_tags[]; + extern const AVOption ff_img_options[]; int ff_img_read_header(AVFormatContext *s1); |