Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4146:af6cde9a76d1 | 4147:b3d75fa26b5c |
---|---|
1016 void dump_format(AVFormatContext *ic, | 1016 void dump_format(AVFormatContext *ic, |
1017 int index, | 1017 int index, |
1018 const char *url, | 1018 const char *url, |
1019 int is_output); | 1019 int is_output); |
1020 | 1020 |
1021 #if LIBAVFORMAT_VERSION_MAJOR < 53 | |
1021 /** | 1022 /** |
1022 * Parses width and height out of string str. | 1023 * Parses width and height out of string str. |
1023 * @deprecated Use av_parse_video_frame_size instead. | 1024 * @deprecated Use av_parse_video_frame_size instead. |
1024 */ | 1025 */ |
1025 attribute_deprecated int parse_image_size(int *width_ptr, int *height_ptr, | 1026 attribute_deprecated int parse_image_size(int *width_ptr, int *height_ptr, |
1029 * Converts frame rate from string to a fraction. | 1030 * Converts frame rate from string to a fraction. |
1030 * @deprecated Use av_parse_video_frame_rate instead. | 1031 * @deprecated Use av_parse_video_frame_rate instead. |
1031 */ | 1032 */ |
1032 attribute_deprecated int parse_frame_rate(int *frame_rate, int *frame_rate_base, | 1033 attribute_deprecated int parse_frame_rate(int *frame_rate, int *frame_rate_base, |
1033 const char *arg); | 1034 const char *arg); |
1035 #endif | |
1034 | 1036 |
1035 /** | 1037 /** |
1036 * Parses \p datestr and returns a corresponding number of microseconds. | 1038 * Parses \p datestr and returns a corresponding number of microseconds. |
1037 * @param datestr String representing a date or a duration. | 1039 * @param datestr String representing a date or a duration. |
1038 * - If a date the syntax is: | 1040 * - If a date the syntax is: |