diff avformat.h @ 2163:6c0176688fae libavformat

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
author benoit
date Tue, 12 Jun 2007 08:06:54 +0000
parents 5efd0362497c
children 3804e39efbfd
line wrap: on
line diff
--- a/avformat.h	Tue Jun 12 08:01:35 2007 +0000
+++ b/avformat.h	Tue Jun 12 08:06:54 2007 +0000
@@ -763,13 +763,15 @@
 
 /**
  * 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.