1
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:
gpoirier 2008-10-03 14:54:22 +00:00
parent e965e29432
commit bf0e018a68
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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)