lavf: deprecate AVFormatParameters.time_base.
authorAnton Khirnov <anton@khirnov.net>
Fri, 3 Jun 2011 22:23:14 +0000 (00:23 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 6 Jun 2011 04:46:10 +0000 (06:46 +0200)
libavformat/avformat.h

index 27cd0f7..5b67211 100644 (file)
@@ -227,8 +227,8 @@ typedef struct AVProbeData {
 #define AVPROBE_PADDING_SIZE 32             ///< extra allocated bytes at the end of the probe buffer
 
 typedef struct AVFormatParameters {
-    AVRational time_base;
 #if FF_API_FORMAT_PARAMETERS
+    attribute_deprecated AVRational time_base;
     attribute_deprecated int sample_rate;
     attribute_deprecated int channels;
     attribute_deprecated int width;