diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2007-06-12 08:06:54 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-06-12 08:06:54 +0000 |
commit | 26ef3220cf6ad4a3cb1580086c244394f5aa3094 (patch) | |
tree | c3de96a135b2d5457d1da797113d85c32abe71fa /libavformat/avformat.h | |
parent | 0a4f20c6c5425be5ceccc72cd6adbca96fabcbac (diff) | |
download | ffmpeg-26ef3220cf6ad4a3cb1580086c244394f5aa3094.tar.gz |
Move the video size and rate abbreviations system from libavformat to libavcodec
patch by Stefano Sabatini: [stefano dot sabatini minus lala poste dot it]
original thread:
[FFmpeg-devel] [PATCH] Redesign the video size and rateabbreviations system
date: 06/02/2007 05:30 PM
Originally committed as revision 9288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index fa9be314e4..0fda3d9147 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -763,13 +763,15 @@ void dump_format(AVFormatContext *ic, /** * parses width and height out of string str. + * @deprecated Use av_parse_video_frame_size instead. */ -int parse_image_size(int *width_ptr, int *height_ptr, const char *str); +attribute_deprecated int parse_image_size(int *width_ptr, int *height_ptr, const char *str); /** * Converts frame rate from string to a fraction. + * @deprecated Use av_parse_video_frame_rate instead. */ -int parse_frame_rate(int *frame_rate, int *frame_rate_base, const char *arg); +attribute_deprecated int parse_frame_rate(int *frame_rate, int *frame_rate_base, const char *arg); /** * Converts date string to number of seconds since Jan 1st, 1970. |