diff avformat.h @ 4147:b3d75fa26b5c libavformat

Drop the deprecated parse_image_size() and parse_frame_rate() functions at the next libavformat major version bump.
author stefano
date Sun, 04 Jan 2009 11:04:02 +0000
parents a2539db62994
children 1f857a4519bd
line wrap: on
line diff
--- a/avformat.h	Wed Dec 31 02:47:54 2008 +0000
+++ b/avformat.h	Sun Jan 04 11:04:02 2009 +0000
@@ -1018,6 +1018,7 @@
                  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_frame_rate(int *frame_rate, int *frame_rate_base,
                                           const char *arg);
+#endif
 
 /**
  * Parses \p datestr and returns a corresponding number of microseconds.