at the next libavformat major version bump.
Originally committed as revision 16420 to svn://svn.ffmpeg.org/ffmpeg/trunk
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.
*/
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.
dump_stream_format(ic, i, index, is_output);
}
+#if LIBAVFORMAT_VERSION_MAJOR < 53
int parse_image_size(int *width_ptr, int *height_ptr, const char *str)
{
return av_parse_video_frame_size(width_ptr, height_ptr, str);
*frame_rate_den= frame_rate.den;
return ret;
}
+#endif
int64_t av_gettime(void)
{