Turned on warnings and fixed

This commit is contained in:
2022-02-06 16:14:57 +00:00
parent 76985519f1
commit 87df6921e8
50 changed files with 570 additions and 4246 deletions

View File

@@ -1,17 +1,15 @@
#ifndef DATASTREAM_H
#define DATASTREAM_H
#include <SDL2/SDL_audio.h>
typedef struct plm_t plm_t;
#include <stdint.h>
#include <pl_mpeg.h>
struct datastream {
plm_t *plm;
struct mShader *shader;
double last_time;
int playing;
SDL_AudioDeviceID audio_device;
int audio_device;
uint32_t texture_y;
uint32_t texture_cb;
uint32_t texture_cr;