From d87a521cde2de7f4cbd484cc56fb4b20267ef8df Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Fri, 15 Oct 2010 13:33:23 +0000 Subject: add FF_API_PARSE_FRAME_PARAM define to disable the deprecated parse_image_size() and parse_frame_rate() public functions Originally committed as revision 25485 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/utils.c') diff --git a/libavformat/utils.c b/libavformat/utils.c index ebcb7d7e45..56bcfc09b4 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3207,7 +3207,7 @@ void dump_format(AVFormatContext *ic, av_free(printed); } -#if LIBAVFORMAT_VERSION_MAJOR < 53 +#if FF_API_PARSE_FRAME_PARAM #include "libavcore/parseutils.h" int parse_image_size(int *width_ptr, int *height_ptr, const char *str) -- cgit v1.2.3