Merge commit '1c9e8616c535ef496e7ee8a5cbc5e9e972a6977d'
[ffmpeg.git] / libavutil / hwcontext_internal.h
index e62324c..cf832fe 100644 (file)
@@ -64,6 +64,9 @@ typedef struct HWContextType {
      */
     size_t             frames_priv_size;
 
+    int              (*device_create)(AVHWDeviceContext *ctx, const char *device,
+                                      AVDictionary *opts, int flags);
+
     int              (*device_init)(AVHWDeviceContext *ctx);
     void             (*device_uninit)(AVHWDeviceContext *ctx);