]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qsvdec.h
lavc/videotoolboxdec: fix crop handling when multithreaded
[ffmpeg] / libavcodec / qsvdec.h
index 111536caba33515b24034a97e8b74233f5c6f434..c057bc672281d61af405a62a22051d51219a7cad 100644 (file)
@@ -56,13 +56,12 @@ typedef struct QSVContext {
     int buffered_count;
     int reinit_flag;
 
-    // the internal parser and codec context for parsing the data
-    AVCodecParserContext *parser;
-    AVCodecContext *avctx_internal;
     enum AVPixelFormat orig_pix_fmt;
     uint32_t fourcc;
     mfxFrameInfo frame_info;
 
+    int initialized;
+
     // options set by the caller
     int async_depth;
     int iopattern;