mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 23:49:00 +08:00
fix viewvideo warning after #1573
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user