summaryrefslogtreecommitdiff
path: root/libavcodec/qsv_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/qsv_internal.h')
-rw-r--r--libavcodec/qsv_internal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h
index 6ccb72a236..b1567fbef8 100644
--- a/libavcodec/qsv_internal.h
+++ b/libavcodec/qsv_internal.h
@@ -40,12 +40,11 @@
typedef struct QSVFrame {
AVFrame *frame;
- mfxFrameSurface1 *surface;
+ mfxFrameSurface1 surface;
mfxEncodeCtrl enc_ctrl;
- mfxFrameSurface1 surface_internal;
-
int queued;
+ int used;
struct QSVFrame *next;
} QSVFrame;