summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-06 07:38:11 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-07 18:11:24 +0200
commit9f5ddd1e460a7e25b838286d36bf3fbe17baaa76 (patch)
tree97acbb419dba16231c7037ec69f0e5228987bb9a /libavcodec/avcodec.h
parent5cec8971056f92215d4199235907d944abdb5a81 (diff)
lavc: add a FF_API_REQUEST_CHANNELS deprecation macro
And hide request_channels AVOption under it.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 95a933dcfc..7eb8b52c0b 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2590,7 +2590,7 @@ typedef struct AVCodecContext {
*/
int64_t timecode_frame_start;
-#if LIBAVCODEC_VERSION_MAJOR < 53
+#if FF_API_REQUEST_CHANNELS
/**
* Decoder should decode to this many channels if it can (0 for default)
* - encoding: unused