[FFmpeg-cvslog] lavc: postpone the removal of AVCodecContext.request_channels.

Anton Khirnov git at videolan.org
Tue Jan 24 23:12:53 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jan 12 11:16:38 2012 +0100| [1381e9bc92e54f0c3472a1f7150a8530ccd55379] | committer: Anton Khirnov

lavc: postpone the removal of AVCodecContext.request_channels.

Although it has been deprecated for a long time, its intended
replacement (request_channel_layout) is not actually used anywhere, so
request_channels is currently the only way to access that functionality.

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

 libavcodec/version.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/version.h b/libavcodec/version.h
index 1de790e..22a2b87 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -51,7 +51,7 @@
 #define FF_API_ANTIALIAS_ALGO   (LIBAVCODEC_VERSION_MAJOR < 54)
 #endif
 #ifndef FF_API_REQUEST_CHANNELS
-#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 54)
+#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
 #endif
 #ifndef FF_API_OPT_H
 #define FF_API_OPT_H            (LIBAVCODEC_VERSION_MAJOR < 54)



More information about the ffmpeg-cvslog mailing list