mirror of
https://github.com/mpv-player/mpv
synced 2025-03-02 20:28:02 +00:00
packet: reorder fields
Saves 8 bytes on 64 bit platforms.
This commit is contained in:
parent
075111c4d2
commit
d7c7f80cc1
@ -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