[FFmpeg-cvslog] lavf: deprecate AVFormatParameters.width/height.
Anton Khirnov
git at videolan.org
Fri May 27 23:57:13 CEST 2011
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu May 26 08:14:03 2011 +0200| [89d1b7f40671e0d455fe6b6670bf6f2bcf2eea2e] | committer: Anton Khirnov
lavf: deprecate AVFormatParameters.width/height.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=89d1b7f40671e0d455fe6b6670bf6f2bcf2eea2e
---
libavformat/avformat.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 3a652a3..847e408 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -231,9 +231,9 @@ typedef struct AVFormatParameters {
#if FF_API_FORMAT_PARAMETERS
attribute_deprecated int sample_rate;
attribute_deprecated int channels;
+ attribute_deprecated int width;
+ attribute_deprecated int height;
#endif
- int width;
- int height;
enum PixelFormat pix_fmt;
#if FF_API_FORMAT_PARAMETERS
attribute_deprecated int channel; /**< Used to select DV channel. */
More information about the ffmpeg-cvslog
mailing list