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 41f4c3ddf6..5b015a619d 100644
--- a/libavcodec/qsv_internal.h
+++ b/libavcodec/qsv_internal.h
@@ -38,11 +38,10 @@
typedef struct QSVFrame {
AVFrame *frame;
- mfxFrameSurface1 *surface;
-
- mfxFrameSurface1 surface_internal;
+ mfxFrameSurface1 surface;
int queued;
+ int used;
struct QSVFrame *next;
} QSVFrame;