summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index d129e2ef15..97697c05e5 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -4834,6 +4834,8 @@ if(rel_seek_secs || abs_seek_pos){
if(sh_audio){
current_module="seek_audio_reset";
audio_out->reset(); // stop audio, throwing away buffered data
+ sh_audio->a_buffer_len = 0;
+ sh_audio->a_out_buffer_len = 0;
}
// Set OSD:
if(!loop_seek){