summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.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/mpegvideo.h
parent1a5e9130162b8adc898e5f6aea82b6372d1e4e6c (diff)
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/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 7e031db821..532a70a43e 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -143,6 +143,10 @@ typedef struct Picture{
int b_frame_score; /* */
void *owner2; ///< pointer to the context that allocated this picture
int needs_realloc; ///< Picture needs to be reallocated (eg due to a frame size change)
+ /**
+ * hardware accelerator private data
+ */
+ void *hwaccel_picture_private;
} Picture;
/**