Mercurial > mplayer.hg
diff libmpdemux/demux_lavf.c @ 35266:ceb148e1fe31
Change STREAM_CTRL_GET_SIZE argument type from off_t to
uint64_t.
Also fix the incorrect type of the uint64_res variable.
author | reimar |
---|---|
date | Tue, 06 Nov 2012 17:31:23 +0000 |
parents | 60c7713b1061 |
children | 5e22bb28e6b7 |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Tue Nov 06 15:53:41 2012 +0000 +++ b/libmpdemux/demux_lavf.c Tue Nov 06 17:31:23 2012 +0000 @@ -106,7 +106,7 @@ else if(whence == SEEK_SET) pos += stream->start_pos; else if(whence == AVSEEK_SIZE && stream->end_pos > 0) { - off_t size; + uint64_t size; stream_control(stream, STREAM_CTRL_GET_SIZE, &size); if (size > stream->end_pos) stream->end_pos = size;