mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(ffmpeg core) Struct reordering, alignment
This commit is contained in:
parent
aeeff7f350
commit
1b4cbf3ed5
@ -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;
|
||||
|
@ -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(
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user