am7xxx: fix the coding style used to represent pointers
authorAntonio Ospite <ao2@ao2.it>
Mon, 20 Apr 2015 14:28:47 +0000 (16:28 +0200)
committerAntonio Ospite <ao2@ao2.it>
Mon, 20 Apr 2015 16:03:26 +0000 (18:03 +0200)
examples/am7xxx-play.c
src/am7xxx.c

index 6d6ef1c..f63fbfd 100644 (file)
@@ -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,
index ecec7d7..89eaab4 100644 (file)
@@ -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_deviceusb_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;