summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-01-04 11:04:02 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-01-04 11:04:02 +0000
commit1ca9133fb42c1cc88e007939cc4322c72a7d9596 (patch)
tree3323c0eaa141711b82af971a76714b8283f1dcb5 /libavformat/avformat.h
parent21ff7689da9528e6c21bc2fb9eff51f1e3f1daf4 (diff)
Drop the deprecated parse_image_size() and parse_frame_rate() functions
at the next libavformat major version bump. Originally committed as revision 16420 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index acdcec4251..3f4271ae5f 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1018,6 +1018,7 @@ void dump_format(AVFormatContext *ic,
const char *url,
int is_output);
+#if LIBAVFORMAT_VERSION_MAJOR < 53
/**
* Parses width and height out of string str.
* @deprecated Use av_parse_video_frame_size instead.
@@ -1031,6 +1032,7 @@ attribute_deprecated int parse_image_size(int *width_ptr, int *height_ptr,
*/
attribute_deprecated int parse_frame_rate(int *frame_rate, int *frame_rate_base,
const char *arg);
+#endif
/**
* Parses \p datestr and returns a corresponding number of microseconds.