diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-05 15:13:53 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-08 18:44:29 +0400 |
commit | a9bf9d8e5349114d37cc3baf0b1e7d95197c5ef8 (patch) | |
tree | 3ef40cf17dcad4d59b54ceeacadc1621a67e0eb6 /libavformat/img2.c | |
parent | 5593f031489f54ad184dd2d2744e31006c8627a5 (diff) |
lavf: make av_guess_image2_codec internal
It doesn't look very useful as a public function.
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r-- | libavformat/img2.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c index 59d9150cdf..2b5d63b0bd 100644 --- a/libavformat/img2.c +++ b/libavformat/img2.c @@ -24,6 +24,7 @@ #include "libavutil/avstring.h" #include "avformat.h" #include "avio_internal.h" +#include "internal.h" #include <strings.h> typedef struct { @@ -183,9 +184,16 @@ static int read_probe(AVProbeData *p) return 0; } +enum CodecID ff_guess_image2_codec(const char *filename) +{ + return av_str2id(img_tags, filename); +} + +#if FF_API_GUESS_IMG2_CODEC enum CodecID av_guess_image2_codec(const char *filename){ return av_str2id(img_tags, filename); } +#endif static int read_header(AVFormatContext *s1, AVFormatParameters *ap) { |