diff options
author | wanderer <wanderer@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-11 17:21:02 +0000 |
---|---|---|
committer | wanderer <wanderer@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-11 17:21:02 +0000 |
commit | a8235fce3f208eecfa4750650c1ef13a4c0567f2 (patch) | |
tree | 35f2dfcb01d7a665fae5dedfbfd567163b85bb2b /libmpdemux/demux_pva.c | |
parent | 97726e45822d0c4af7822168c23ac751ec5912da (diff) | |
download | mpv-a8235fce3f208eecfa4750650c1ef13a4c0567f2.tar.bz2 mpv-a8235fce3f208eecfa4750650c1ef13a4c0567f2.tar.xz |
make demuxer seek and close functions return void, patch by Dominik Mierzejewski
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17175 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_pva.c')
-rw-r--r-- | libmpdemux/demux_pva.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libmpdemux/demux_pva.c b/libmpdemux/demux_pva.c index 2a2a47d881..fe831885ad 100644 --- a/libmpdemux/demux_pva.c +++ b/libmpdemux/demux_pva.c @@ -466,7 +466,7 @@ int pva_get_payload(demuxer_t * d,pva_payload_t * payload) return 1; } -static int demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,int flags) +static void demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,int flags) { int total_bitrate=0; off_t dest_offset; @@ -490,7 +490,7 @@ static int demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,int flags) if(!pva_sync(demuxer)) { mp_msg(MSGT_DEMUX,MSGL_V,"demux_pva: Couldn't seek!\n"); - return 0; + return; } /* @@ -501,8 +501,6 @@ static int demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,int flags) priv->last_video_pts=-1; priv->last_audio_pts=-1; - - return 1; } |