| Index: third_party/instrumented_libraries/patches/libva1.diff
|
| diff --git a/third_party/instrumented_libraries/patches/libva1.diff b/third_party/instrumented_libraries/patches/libva1.diff
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2e4ca7358eddf713ff7a721ef66f92280ae39ac5
|
| --- /dev/null
|
| +++ b/third_party/instrumented_libraries/patches/libva1.diff
|
| @@ -0,0 +1,22 @@
|
| +diff --git a/va/va.c b/va/va.c
|
| +index 6cb17ef..0ba595b 100644
|
| +--- a/va/va.c
|
| ++++ b/va/va.c
|
| +@@ -515,15 +515,15 @@ VAStatus vaTerminate (
|
| + free(old_ctx->vtable_vpp);
|
| + old_ctx->vtable_vpp = NULL;
|
| +
|
| +- if (VA_STATUS_SUCCESS == vaStatus)
|
| +- pDisplayContext->vaDestroy(pDisplayContext);
|
| +-
|
| + VA_TRACE_LOG(va_TraceTerminate, dpy);
|
| +
|
| + va_TraceEnd(dpy);
|
| +
|
| + va_FoolEnd(dpy);
|
| +
|
| ++ if (VA_STATUS_SUCCESS == vaStatus)
|
| ++ pDisplayContext->vaDestroy(pDisplayContext);
|
| ++
|
| + return vaStatus;
|
| + }
|
|
|