[FFmpeg-cvslog] lavf: deprecate AVFormatParameters.time_base.

Anton Khirnov git at videolan.org
Tue Jun 7 03:49:09 CEST 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Jun  4 00:23:14 2011 +0200| [b2592ea42ca0d7c81b6e6ae90189d43e3e3fce59] | committer: Anton Khirnov

lavf: deprecate AVFormatParameters.time_base.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2592ea42ca0d7c81b6e6ae90189d43e3e3fce59
---

 libavformat/avformat.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 27cd0f7..5b67211 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -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;



More information about the ffmpeg-cvslog mailing list