aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-26 08:14:03 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-27 06:52:52 +0200
commit89d1b7f40671e0d455fe6b6670bf6f2bcf2eea2e (patch)
tree067f0b72a256cab40f083c6792f060ae1077e4f6 /libavformat
parent06d8c9e5f0d9db605830d36678ccefeceddce610 (diff)
downloadffmpeg-89d1b7f40671e0d455fe6b6670bf6f2bcf2eea2e.tar.gz
lavf: deprecate AVFormatParameters.width/height.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avformat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 3a652a354b..847e408641 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. */