mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 18:57:35 +00:00
packet: reorder fields
Saves 8 bytes on 64 bit platforms.
This commit is contained in:
parent
829308da08
commit
c0a1b8d723
@ -24,17 +24,18 @@
|
||||
|
||||
// Holds one packet/frame/whatever
|
||||
typedef struct demux_packet {
|
||||
int len;
|
||||
unsigned char *buffer;
|
||||
|
||||
double pts;
|
||||
double dts;
|
||||
double duration;
|
||||
bool keyframe;
|
||||
|
||||
int64_t pos; // position in source file byte stream
|
||||
|
||||
unsigned char *buffer;
|
||||
int len;
|
||||
|
||||
int stream; // source stream index (typically sh_stream.index)
|
||||
|
||||
bool keyframe;
|
||||
|
||||
// segmentation (ordered chapters, EDL)
|
||||
bool segmented;
|
||||
struct mp_codec_params *codec; // set to non-NULL iff segmented is set
|
||||
|
Loading…
Reference in New Issue
Block a user