summaryrefslogtreecommitdiff
path: root/libavcodec/qsvdec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-06-22 11:44:09 +0200
committerAnton Khirnov <anton@khirnov.net>2016-07-03 09:13:29 +0200
commitce320cf1c4daab3e2e3726ed7d2e879d10f7b991 (patch)
tree553458c6a57c2909ef88230eef5e4713dc37ab9a /libavcodec/qsvdec.h
parent536bb17e9659c5ed7576a218d4085cdd6d5742fa (diff)
downloadffmpeg-ce320cf1c4daab3e2e3726ed7d2e879d10f7b991.tar.gz
qsvdec: use the same mfxFrameInfo for allocating frames that was passed to DECODE_Init
Stop duplicating this information.
Diffstat (limited to 'libavcodec/qsvdec.h')
-rw-r--r--libavcodec/qsvdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qsvdec.h b/libavcodec/qsvdec.h
index de66a7d1de..d807864aa5 100644
--- a/libavcodec/qsvdec.h
+++ b/libavcodec/qsvdec.h
@@ -57,6 +57,7 @@ typedef struct QSVContext {
AVCodecContext *avctx_internal;
enum AVPixelFormat orig_pix_fmt;
uint32_t fourcc;
+ mfxFrameInfo frame_info;
// options set by the caller
int async_depth;