diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-05 13:13:53 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-08 16:44:29 +0200 |
commit | a9bf9d8e5349114d37cc3baf0b1e7d95197c5ef8 (patch) | |
tree | 3ef40cf17dcad4d59b54ceeacadc1621a67e0eb6 /libavformat/avformat.h | |
parent | 5593f031489f54ad184dd2d2744e31006c8627a5 (diff) | |
download | ffmpeg-a9bf9d8e5349114d37cc3baf0b1e7d95197c5ef8.tar.gz |
lavf: make av_guess_image2_codec internal
It doesn't look very useful as a public function.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 6b1b2b493d..37ec8a9bee 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -899,7 +899,9 @@ AVInputFormat *av_iformat_next(AVInputFormat *f); */ AVOutputFormat *av_oformat_next(AVOutputFormat *f); -enum CodecID av_guess_image2_codec(const char *filename); +#if FF_API_GUESS_IMG2_CODEC +attribute_deprecated enum CodecID av_guess_image2_codec(const char *filename); +#endif /* XXX: Use automatic init with either ELF sections or C file parser */ /* modules. */ |