From: Antonio Ospite Date: Mon, 20 Apr 2015 14:28:47 +0000 (+0200) Subject: am7xxx: fix the coding style used to represent pointers X-Git-Tag: v0.1.6~31 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/c71788d6309eafd1d0bdc503ebb75055c43c0416?hp=6b512f3aa13918e695560015ebfbae51c2f48191 am7xxx: fix the coding style used to represent pointers --- diff --git a/examples/am7xxx-play.c b/examples/am7xxx-play.c index 6d6ef1c..f63fbfd 100644 --- 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, - (const uint8_t * const*)picture_raw->data, + (const uint8_t * const *)picture_raw->data, picture_raw->linesize, 0, (input_ctx.codec_ctx)->height, diff --git a/src/am7xxx.c b/src/am7xxx.c index ecec7d7..89eaab4 100644 --- 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, - libusb_device* usb_dev, + libusb_device *usb_dev, 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; - libusb_device** list; + libusb_device **list; unsigned int current_index; int i; int ret;