summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-05 13:13:53 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-08 16:44:29 +0200
commita9bf9d8e5349114d37cc3baf0b1e7d95197c5ef8 (patch)
tree3ef40cf17dcad4d59b54ceeacadc1621a67e0eb6 /libavformat/avformat.h
parent5593f031489f54ad184dd2d2744e31006c8627a5 (diff)
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.h4
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. */