OSDN Git Service

lavf: deprecate AVFormatParameters.width/height.
authorAnton Khirnov <anton@khirnov.net>
Thu, 26 May 2011 06:14:03 +0000 (08:14 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 27 May 2011 04:52:52 +0000 (06:52 +0200)
libavformat/avformat.h

index 3a652a3..847e408 100644 (file)
@@ -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. */