From c71788d6309eafd1d0bdc503ebb75055c43c0416 Mon Sep 17 00:00:00 2001
From: Antonio Ospite <ao2@ao2.it>
Date: Mon, 20 Apr 2015 16:28:47 +0200
Subject: [PATCH] am7xxx: fix the coding style used to represent pointers

---
 examples/am7xxx-play.c | 2 +-
 src/am7xxx.c           | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

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;
-- 
2.1.4