(ffmpeg core) Struct reordering, alignment

This commit is contained in:
twinaphex 2020-08-16 04:23:15 +02:00
parent aeeff7f350
commit 1b4cbf3ed5
3 changed files with 5 additions and 6 deletions

View file

@ -193,10 +193,9 @@ static GLint mix_loc;
static struct
{
double interpolate_fps;
unsigned width;
unsigned height;
double interpolate_fps;
unsigned sample_rate;
float aspect;

View file

@ -19,14 +19,14 @@ enum kbStatus
struct video_buffer
{
int64_t head;
int64_t tail;
video_decoder_context_t *buffer;
enum kbStatus *status;
size_t capacity;
slock_t *lock;
scond_t *open_cond;
scond_t *finished_cond;
int64_t head;
int64_t tail;
size_t capacity;
};
video_buffer_t *video_buffer_create(

View file

@ -43,7 +43,6 @@ RETRO_BEGIN_DECLS
*/
struct video_decoder_context
{
int index;
int64_t pts;
struct SwsContext *sws;
AVFrame *source;
@ -55,6 +54,7 @@ struct video_decoder_context
ASS_Track *ass_track_active;
#endif
uint8_t *frame_buf;
int index;
};
typedef struct video_decoder_context video_decoder_context_t;