Remove majority of warnings
There were a *lot* of warnings, managed to remove most of them. Also, put warning flags before C_FLAGS and CXX_FLAGS, rather than after, as -Wall -Wextra was overwriting flags that came before it.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "media-io-defs.h"
|
||||
#include "../util/c99defs.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -25,8 +26,6 @@ extern "C" {
|
||||
|
||||
/* Base video output component. Use this to create an video output track. */
|
||||
|
||||
#define MAX_VIDEO_PLANES 8
|
||||
|
||||
struct video_output;
|
||||
typedef struct video_output *video_t;
|
||||
|
||||
@@ -49,8 +48,8 @@ enum video_format {
|
||||
};
|
||||
|
||||
struct video_frame {
|
||||
const uint8_t *data[MAX_VIDEO_PLANES];
|
||||
uint32_t linesize[MAX_VIDEO_PLANES];
|
||||
const uint8_t *data[MAX_AV_PLANES];
|
||||
uint32_t linesize[MAX_AV_PLANES];
|
||||
uint64_t timestamp;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user