From f91ccb1df6fe6d043bd88eabc916be1093b6677b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 27 May 2011 07:38:49 +0200 Subject: [PATCH] lavf: deprecate AVFormatParameters.pix_fmt. --- libavformat/avformat.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 849a85d..27cd0f7 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -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 */ -- 2.7.4