diff options
author | wm4 <wm4@nowhere> | 2014-07-21 19:28:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-21 19:29:58 +0200 |
commit | d1bb1bf8af7ef483ce745459e15693e87671618d (patch) | |
tree | b4fc9bd1e56016d4e1ebba8ae356fe3586ad0859 /demux/demux_mf.c | |
parent | 4b4bd9e5f733f47e9c8c68099ba65b446486da81 (diff) | |
download | mpv-d1bb1bf8af7ef483ce745459e15693e87671618d.tar.bz2 mpv-d1bb1bf8af7ef483ce745459e15693e87671618d.tar.xz |
demux: fix timestamp type for seek calls
mpv/mplayer2/MPlayer use double for timestamps, but the demuxer API used
float.
Diffstat (limited to 'demux/demux_mf.c')
-rw-r--r-- | demux/demux_mf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_mf.c b/demux/demux_mf.c index 721d99cf4d..3ce4ae5008 100644 --- a/demux/demux_mf.c +++ b/demux/demux_mf.c @@ -37,7 +37,7 @@ #define MF_MAX_FILE_SIZE (1024 * 1024 * 256) -static void demux_seek_mf(demuxer_t *demuxer, float rel_seek_secs, int flags) +static void demux_seek_mf(demuxer_t *demuxer, double rel_seek_secs, int flags) { mf_t *mf = demuxer->priv; int newpos = (flags & SEEK_ABSOLUTE) ? 0 : mf->curr_frame - 1; |