summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-28 19:24:29 +0100
committerDiego Biurrun <diego@biurrun.de>2013-07-27 16:08:49 +0200
commitbf4b0ed1d5d323050a87c9f0ad1dd40860eb3da2 (patch)
treeb760a6548cea40fcb5a0b82c1abaf1144cdc38f2 /libavcodec/avcodec.h
parent5b097399baa2e38cc513939cfab3a9b6fdbc33df (diff)
Add missing deprecation attributes
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index f4a10e10e7..bd9a80c5ee 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -29,6 +29,7 @@
#include <errno.h>
#include "libavutil/samplefmt.h"
+#include "libavutil/attributes.h"
#include "libavutil/avutil.h"
#include "libavutil/buffer.h"
#include "libavutil/cpu.h"
@@ -1772,7 +1773,7 @@ typedef struct AVCodecContext {
* - decoding: Set by user.
* @deprecated Deprecated in favor of request_channel_layout.
*/
- int request_channels;
+ attribute_deprecated int request_channels;
#endif
/**