aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-10-08 07:50:14 +0200
committerAnton Khirnov <anton@khirnov.net>2013-03-08 07:36:01 +0100
commitad0c9f2d5d81e22207c6ccecc426bf7306acc327 (patch)
tree478b27e382f7a3e26e1a01c39cef92929cfa1f09 /libavcodec/avcodec.h
parent1a5e9130162b8adc898e5f6aea82b6372d1e4e6c (diff)
downloadffmpeg-ad0c9f2d5d81e22207c6ccecc426bf7306acc327.tar.gz
lavc: move AVFrame.hwaccel_picture_private to Picture.
This field is private and should not be present in a public struct. It is only used in DXVA with mpegvideo-based decoders currently.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 1eba5e51bb..d7b58196a4 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1290,12 +1290,12 @@ typedef struct AVFrame {
*/
int64_t reordered_opaque;
+#if FF_API_AVFRAME_LAVC
/**
- * hardware accelerator private data (Libav-allocated)
- * - encoding: unused
- * - decoding: Set by libavcodec
+ * @deprecated this field is unused
*/
- void *hwaccel_picture_private;
+ attribute_deprecated void *hwaccel_picture_private;
+#endif
/**
* the AVCodecContext which ff_thread_get_buffer() was last called on