hardware/intel/common/libva
Revision | 0476de6baac13ee2898558701801e9cdb7186140 (tree) |
---|---|
Time | 2009-11-18 12:50:34 |
Author | Gwenole Beauchesne <gbeauchesne@spli...> |
Commiter | Xiang, Haihao |
Fix vaQueryImageFormats() to return 0 image formats supported at this time.
@@ -346,6 +346,9 @@ i965_QueryImageFormats(VADriverContextP ctx, | ||
346 | 346 | VAImageFormat *format_list, /* out */ |
347 | 347 | int *num_formats) /* out */ |
348 | 348 | { |
349 | + if (num_formats) | |
350 | + *num_formats = 0; | |
351 | + | |
349 | 352 | return VA_STATUS_SUCCESS; |
350 | 353 | } |
351 | 354 |