Signed-off-by: Xiang, Haihao <[email protected]>
---
src/gen9_mfc_hevc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gen9_mfc_hevc.c b/src/gen9_mfc_hevc.c
index e52e408..2d94768 100644
--- a/src/gen9_mfc_hevc.c
+++ b/src/gen9_mfc_hevc.c
@@ -2529,7 +2529,7 @@ gen9_hcpe_context_destroy(void *context)
/* mv temporal buffer */
for (i = 0; i < NUM_HCP_CURRENT_COLLOCATED_MV_TEMPORAL_BUFFERS; i++) {
- if (hcpe_context->reference_surfaces[i].bo != NULL)
+ if (hcpe_context->current_collocated_mv_temporal_buffer[i].bo != NULL)
dri_bo_unreference(hcpe_context->current_collocated_mv_temporal_buffer[i].bo);
hcpe_context->current_collocated_mv_temporal_buffer[i].bo = NULL;
}
--
1.9.1
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva