projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
am7xxx-play: cosmetics, fix coding style
[libam7xxx.git]
/
src
/
am7xxx.c
diff --git
a/src/am7xxx.c
b/src/am7xxx.c
index
56f5bdc
..
b66a4ee
100644
(file)
--- a/
src/am7xxx.c
+++ b/
src/am7xxx.c
@@
-111,6
+111,7
@@
static const struct am7xxx_usb_device_descriptor supported_devices[] = {
.product_id = 0x0016,
.configuration = 2,
.interface_number = 0,
.product_id = 0x0016,
.configuration = 2,
.interface_number = 0,
+ .quirks = AM7XXX_QUIRK_NO_POWER_MODE | AM7XXX_QUIRK_NO_ZOOM_MODE,
},
{
.name = "Philips/Sagemcom PicoPix 2330",
},
{
.name = "Philips/Sagemcom PicoPix 2330",
@@
-790,7
+791,7
@@
out:
AM7XXX_PUBLIC int am7xxx_init(am7xxx_context **ctx)
{
AM7XXX_PUBLIC int am7xxx_init(am7xxx_context **ctx)
{
- int ret
= 0
;
+ int ret;
*ctx = malloc(sizeof(**ctx));
if (*ctx == NULL) {
*ctx = malloc(sizeof(**ctx));
if (*ctx == NULL) {