mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
fix compilation w/ FFmpeg r15533
patch by Andrew Wason %rectalogic A rectalogic P com% git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27688 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e965e29432
commit
bf0e018a68
@ -94,9 +94,9 @@ static int mp_read(void *opaque, uint8_t *buf, int size) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
static offset_t mp_seek(void *opaque, offset_t pos, int whence) {
|
||||
static int64_t mp_seek(void *opaque, int64_t pos, int whence) {
|
||||
stream_t *stream = opaque;
|
||||
offset_t current_pos;
|
||||
int64_t current_pos;
|
||||
mp_msg(MSGT_HEADER,MSGL_DBG2,"mp_seek(%p, %d, %d)\n", stream, (int)pos, whence);
|
||||
if(whence == SEEK_CUR)
|
||||
pos +=stream_tell(stream);
|
||||
|
@ -73,7 +73,7 @@ static int mp_write(void *opaque, uint8_t *buf, int size)
|
||||
return stream_write_buffer(muxer->stream, buf, size);
|
||||
}
|
||||
|
||||
static offset_t mp_seek(void *opaque, offset_t pos, int whence)
|
||||
static int64_t mp_seek(void *opaque, int64_t pos, int whence)
|
||||
{
|
||||
muxer_t *muxer = opaque;
|
||||
if(whence == SEEK_CUR)
|
||||
|
Loading…
Reference in New Issue
Block a user