fix viewvideo warning after #1573

This commit is contained in:
Felix Ruess
2016-03-24 12:58:27 +01:00
parent f33bb427f7
commit 42332e5b26
@@ -110,8 +110,8 @@ struct viewvideo_t viewvideo = {
* Handles all the video streaming and saving of the image shots * Handles all the video streaming and saving of the image shots
* This is a sepereate thread, so it needs to be thread safe! * This is a sepereate thread, so it needs to be thread safe!
*/ */
bool_t viewvideo_function(struct image_t *img); struct image_t* viewvideo_function(struct image_t *img);
bool_t viewvideo_function(struct image_t *img) struct image_t* viewvideo_function(struct image_t *img)
{ {
// Resize image if needed // Resize image if needed
struct image_t img_small; struct image_t img_small;