From ddffcce67810fbde5508a353f85760da7a1b4a95 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 18 Nov 2012 20:46:12 +0100 Subject: 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. --- demux/demux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demux/demux.c') diff --git a/demux/demux.c b/demux/demux.c index e45335f2f8..9447fc04cf 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -559,7 +559,7 @@ static void get_parser(sh_common_t *sh, AVCodecContext **avctx, AVCodecParserCon sh->parser = *parser; } -int ds_parse(demux_stream_t *ds, uint8_t **buffer, int *len, double pts, off_t pos) +int ds_parse(demux_stream_t *ds, uint8_t **buffer, int *len, double pts, int64_t pos) { AVCodecContext *avctx; AVCodecParserContext *parser; @@ -584,7 +584,7 @@ void ds_clear_parser(demux_stream_t *ds) } void ds_read_packet(demux_stream_t *ds, stream_t *stream, int len, - double pts, off_t pos, bool keyframe) + double pts, int64_t pos, bool keyframe) { demux_packet_t *dp = new_demux_packet(len); len = stream_read(stream, dp->buffer, len); -- cgit v1.2.3