Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / instrumented_libraries / patches / libva1.diff
blob2e4ca7358eddf713ff7a721ef66f92280ae39ac5
1 diff --git a/va/va.c b/va/va.c
2 index 6cb17ef..0ba595b 100644
3 --- a/va/va.c
4 +++ b/va/va.c
5 @@ -515,15 +515,15 @@ VAStatus vaTerminate (
6 free(old_ctx->vtable_vpp);
7 old_ctx->vtable_vpp = NULL;
9 - if (VA_STATUS_SUCCESS == vaStatus)
10 - pDisplayContext->vaDestroy(pDisplayContext);
12 VA_TRACE_LOG(va_TraceTerminate, dpy);
14 va_TraceEnd(dpy);
16 va_FoolEnd(dpy);
18 + if (VA_STATUS_SUCCESS == vaStatus)
19 + pDisplayContext->vaDestroy(pDisplayContext);
21 return vaStatus;