projects
/
platform
/
upstream
/
libva-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce3ac0
)
Fix vaQueryImageFormats() to return 0 image formats supported at this time.
author
Gwenole Beauchesne
<gbeauchesne@splitted-desktop.com>
Wed, 18 Nov 2009 03:42:42 +0000
(11:42 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 18 Nov 2009 03:50:34 +0000
(11:50 +0800)
i965_drv_video.c
patch
|
blob
|
history
diff --git
a/i965_drv_video.c
b/i965_drv_video.c
index
375d532
..
8d28547
100644
(file)
--- a/
i965_drv_video.c
+++ b/
i965_drv_video.c
@@
-346,6
+346,9
@@
i965_QueryImageFormats(VADriverContextP ctx,
VAImageFormat *format_list, /* out */
int *num_formats) /* out */
{
+ if (num_formats)
+ *num_formats = 0;
+
return VA_STATUS_SUCCESS;
}