diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-06-22 11:44:09 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-07-03 09:13:29 +0200 |
commit | ce320cf1c4daab3e2e3726ed7d2e879d10f7b991 (patch) | |
tree | 553458c6a57c2909ef88230eef5e4713dc37ab9a /libavcodec/qsvdec.h | |
parent | 536bb17e9659c5ed7576a218d4085cdd6d5742fa (diff) |
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.h | 1 |
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; |