diff options
author | wm4 <wm4@nowhere> | 2012-11-18 20:46:12 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-20 18:00:15 +0100 |
commit | ddffcce67810fbde5508a353f85760da7a1b4a95 (patch) | |
tree | 74d9b416568c12759a0c198651bce0e78a0c2284 /demux/demux_packet.h | |
parent | 51dac4e0702e361b88e5a373fbb0165f5ad47420 (diff) | |
download | mpv-ddffcce67810fbde5508a353f85760da7a1b4a95.tar.bz2 mpv-ddffcce67810fbde5508a353f85760da7a1b4a95.tar.xz |
stream, demux: replace off_t with int64_t
On reasonable systems, these types were the same anyway. Even on
unreasonable systems (seriously, which?), this may reduce potential
breakage.
Diffstat (limited to 'demux/demux_packet.h')
-rw-r--r-- | demux/demux_packet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_packet.h b/demux/demux_packet.h index d64291f4e0..db5d41402c 100644 --- a/demux/demux_packet.h +++ b/demux/demux_packet.h @@ -28,7 +28,7 @@ typedef struct demux_packet { double pts; double duration; double stream_pts; - off_t pos; // position in index (AVI) or file (MPG) + int64_t pos; // position in index (AVI) or file (MPG) unsigned char *buffer; bool keyframe; int refcount; // counter for the master packet, if 0, buffer can be free()d |