diff options
author | David King <amigadave@amigadave.com> | 2019-05-03 19:54:58 +0100 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2019-05-03 19:54:58 +0100 |
commit | d27ab7a04bc228f211c4aa9170ebdfff8f127a8f (patch) | |
tree | eb0fc288412ef33d3017285f1bbb943d744bfc09 /libcheese | |
parent | 812240adee5e7016b9dda1fd8622fd95b57c421e (diff) | |
download | cheese-d27ab7a04bc228f211c4aa9170ebdfff8f127a8f.tar.gz |
Fix a misplaced const
Diffstat (limited to 'libcheese')
-rw-r--r-- | libcheese/cheese-camera-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcheese/cheese-camera-device.c b/libcheese/cheese-camera-device.c index 942fa468..be85b2c5 100644 --- a/libcheese/cheese-camera-device.c +++ b/libcheese/cheese-camera-device.c @@ -69,7 +69,7 @@ enum CheeseCameraDeviceError GST_DEBUG_CATEGORY (cheese_camera_device_cat); #define GST_CAT_DEFAULT cheese_camera_device_cat -static const gchar const *supported_formats[] = { +static const gchar * const supported_formats[] = { "video/x-raw", NULL }; @@ -177,7 +177,7 @@ compare_formats (gconstpointer a, gconstpointer b) static GstCaps * cheese_camera_device_filter_caps (CheeseCameraDevice *device, GstCaps *caps, - const gchar const *formats[]) + const gchar * const formats[]) { GstCaps *filter; GstCaps *allowed; |