projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b512f3
)
am7xxx: fix the coding style used to represent pointers
author
Antonio Ospite <ao2@ao2.it>
Mon, 20 Apr 2015 14:28:47 +0000
(16:28 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 20 Apr 2015 16:03:26 +0000
(18:03 +0200)
examples/am7xxx-play.c
patch
|
blob
|
history
src/am7xxx.c
patch
|
blob
|
history
diff --git
a/examples/am7xxx-play.c
b/examples/am7xxx-play.c
index
6d6ef1c
..
f63fbfd
100644
(file)
--- a/
examples/am7xxx-play.c
+++ b/
examples/am7xxx-play.c
@@
-386,7
+386,7
@@
static int am7xxx_play(const char *input_format_string,
if (got_picture) {
/* convert it to YUV */
sws_scale(sw_scale_ctx,
if (got_picture) {
/* convert it to YUV */
sws_scale(sw_scale_ctx,
- (const uint8_t * const*)picture_raw->data,
+ (const uint8_t * const
*)picture_raw->data,
picture_raw->linesize,
0,
(input_ctx.codec_ctx)->height,
picture_raw->linesize,
0,
(input_ctx.codec_ctx)->height,
diff --git
a/src/am7xxx.c
b/src/am7xxx.c
index
ecec7d7
..
89eaab4
100644
(file)
--- a/
src/am7xxx.c
+++ b/
src/am7xxx.c
@@
-704,7
+704,7
@@
static am7xxx_device *find_device(am7xxx_context *ctx,
static int open_device(am7xxx_context *ctx,
unsigned int device_index,
static int open_device(am7xxx_context *ctx,
unsigned int device_index,
- libusb_device
*
usb_dev,
+ libusb_device
*
usb_dev,
am7xxx_device **dev)
{
int ret;
am7xxx_device **dev)
{
int ret;
@@
-806,7
+806,7
@@
static int scan_devices(am7xxx_context *ctx, scan_op op,
unsigned int open_device_index, am7xxx_device **dev)
{
ssize_t num_devices;
unsigned int open_device_index, am7xxx_device **dev)
{
ssize_t num_devices;
- libusb_device
**
list;
+ libusb_device
**
list;
unsigned int current_index;
int i;
int ret;
unsigned int current_index;
int i;
int ret;