repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed return values of cec_get_adapter_vendor_id() and cec_get_adapter_product_id()
[deb_libcec.git]
/
src
/
lib
/
LibCECC.cpp
diff --git
a/src/lib/LibCECC.cpp
b/src/lib/LibCECC.cpp
index 6d9d8c50719457c103f2bee82becdfd52c793fc9..153668db2f6f3c1349d35fd28b0b9a7ca2431264 100644
(file)
--- a/
src/lib/LibCECC.cpp
+++ b/
src/lib/LibCECC.cpp
@@
-380,12
+380,12
@@
void cec_init_video_standalone(void)
uint16_t cec_get_adapter_vendor_id(void)
{
uint16_t cec_get_adapter_vendor_id(void)
{
- return cec_parser ? cec_parser->GetAdapterVendorId() :
NULL
;
+ return cec_parser ? cec_parser->GetAdapterVendorId() :
0
;
}
uint16_t cec_get_adapter_product_id(void)
{
}
uint16_t cec_get_adapter_product_id(void)
{
- return cec_parser ? cec_parser->GetAdapterProductId() :
NULL
;
+ return cec_parser ? cec_parser->GetAdapterProductId() :
0
;
}
//@}
}
//@}