lavf: deprecate AVFormatParameters.pix_fmt.
authorAnton Khirnov <anton@khirnov.net>
Fri, 27 May 2011 05:38:49 +0000 (07:38 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 27 May 2011 21:33:51 +0000 (23:33 +0200)
libavformat/avformat.h

index 849a85d..27cd0f7 100644 (file)
@@ -233,9 +233,7 @@ typedef struct AVFormatParameters {
     attribute_deprecated int channels;
     attribute_deprecated int width;
     attribute_deprecated int height;
-#endif
-    enum PixelFormat pix_fmt;
-#if FF_API_FORMAT_PARAMETERS
+    attribute_deprecated enum PixelFormat pix_fmt;
     attribute_deprecated int channel; /**< Used to select DV channel. */
     attribute_deprecated const char *standard; /**< deprecated, use demuxer-specific options instead. */
     attribute_deprecated unsigned int mpeg2ts_raw:1;  /**< deprecated, use mpegtsraw demuxer */