diff options
author | wm4 <wm4@nowhere> | 2019-06-07 13:33:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:05 +0200 |
commit | 7c356ee83690138060a20b733c7ab1bbc9cef037 (patch) | |
tree | 9e0d374fb4107c4e5090649fa11e770b7fd48a93 /demux/packet.h | |
parent | b9250569cdae1d31b728cfd8f5d7f7c8f41090d3 (diff) | |
download | mpv-7c356ee83690138060a20b733c7ab1bbc9cef037.tar.bz2 mpv-7c356ee83690138060a20b733c7ab1bbc9cef037.tar.xz |
packet: change len field from int to size_t
Why not. struct demux_packet doesn't change on 64 bit size due to
alignment padding.
Diffstat (limited to 'demux/packet.h')
-rw-r--r-- | demux/packet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/packet.h b/demux/packet.h index 6822bce2c1..92b0129934 100644 --- a/demux/packet.h +++ b/demux/packet.h @@ -30,7 +30,7 @@ typedef struct demux_packet { int64_t pos; // position in source file byte stream unsigned char *buffer; - int len; + size_t len; int stream; // source stream index (typically sh_stream.index) |