Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit bf8dfbe

Browse files
author
Sean V. Kelley
committed
Merge pull request #12 from yakuizhao/master
Fix the incorrect assert type check for media_CreateSurfaces2
2 parents 989772e + 826f256 commit bf8dfbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/media_drv_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ media_CreateSurfaces2 (VADriverContextP ctx,
247247
break;
248248
case VASurfaceAttribExternalBufferDescriptor:
249249
MEDIA_DRV_ASSERT (attrib_list[i].value.type ==
250-
VAGenericValueTypeInteger);
250+
VAGenericValueTypePointer);
251251
MEDIA_DRV_ASSERT (attrib_list[i].value.value.p);
252252
memory_attibute =
253253
(VASurfaceAttribExternalBuffers *) attrib_list[i].value.

0 commit comments

Comments
 (0)