OLD | NEW |
(Empty) | |
| 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; |
| 8 |
| 9 - if (VA_STATUS_SUCCESS == vaStatus) |
| 10 - pDisplayContext->vaDestroy(pDisplayContext); |
| 11 - |
| 12 VA_TRACE_LOG(va_TraceTerminate, dpy); |
| 13 |
| 14 va_TraceEnd(dpy); |
| 15 |
| 16 va_FoolEnd(dpy); |
| 17 |
| 18 + if (VA_STATUS_SUCCESS == vaStatus) |
| 19 + pDisplayContext->vaDestroy(pDisplayContext); |
| 20 + |
| 21 return vaStatus; |
| 22 } |
OLD | NEW |