Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.48 KB | None | 0 0
  1. diff --git a/libavutil/hwcontext_d3d11va.c b/libavutil/hwcontext_d3d11va.c
  2. index 65dd6651fc..a38b72fb00 100644
  3. --- a/libavutil/hwcontext_d3d11va.c
  4. +++ b/libavutil/hwcontext_d3d11va.c
  5. @@ -472,6 +472,7 @@ static void d3d11va_device_uninit(AVHWDeviceContext *hwdev)
  6.  
  7.      if (device_hwctx->lock == d3d11va_default_lock)
  8.          CloseHandle(device_hwctx->lock_ctx);
  9. +    device_hwctx->lock   = NULL;
  10.  }
  11.  
  12.  static int d3d11va_device_create(AVHWDeviceContext *ctx, const char *device,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement