[FFmpeg-cvslog] lavf: deprecate AVFormatParameters.pix_fmt.

Anton Khirnov git at videolan.org
Sun May 29 03:46:43 CEST 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri May 27 07:38:49 2011 +0200| [f91ccb1df6fe6d043bd88eabc916be1093b6677b] | committer: Anton Khirnov

lavf: deprecate AVFormatParameters.pix_fmt.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f91ccb1df6fe6d043bd88eabc916be1093b6677b
---

 libavformat/avformat.h |    4 +---
 1 files changed, 1 insertions(+), 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 */



More information about the ffmpeg-cvslog mailing list