[FFmpeg-cvslog] lavc: mark deprecated AVCodec.max_lowres for removal on next bump

Anton Khirnov git at videolan.org
Thu Oct 3 12:21:35 CEST 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Sep 30 14:44:24 2013 +0200| [451606f7ce7e22aef989da3af49c48b663065d70] | committer: Anton Khirnov

lavc: mark deprecated AVCodec.max_lowres for removal on next bump

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

 libavcodec/avcodec.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index ea055fa..d535308 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2706,7 +2706,9 @@ typedef struct AVCodec {
     const int *supported_samplerates;       ///< array of supported audio samplerates, or NULL if unknown, array is terminated by 0
     const enum AVSampleFormat *sample_fmts; ///< array of supported sample formats, or NULL if unknown, array is terminated by -1
     const uint64_t *channel_layouts;         ///< array of support channel layouts, or NULL if unknown. array is terminated by 0
+#if FF_API_LOWRES
     attribute_deprecated uint8_t max_lowres; ///< maximum value for lowres supported by the decoder
+#endif
     const AVClass *priv_class;              ///< AVClass for the private context
     const AVProfile *profiles;              ///< array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN}
 



More information about the ffmpeg-cvslog mailing list