changeset 33493:fd4a27bd4ed4

a_pos is also used by update_subtitles, so initialize it always.
author reimar
date Sat, 11 Jun 2011 15:07:37 +0000
parents 60b84f05d865
children 86a93b00b52c
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Jun 11 14:54:59 2011 +0000
+++ b/mplayer.c	Sat Jun 11 15:07:37 2011 +0000
@@ -3796,7 +3796,7 @@
                 double a_pos = 0;
                 // sh_audio can be NULL due to video stream switching
                 // TODO: handle this better
-                if ((!quiet || end_at.type == END_AT_TIME) && mpctx->sh_audio)
+                if (mpctx->sh_audio)
                     a_pos = playing_audio_pts(mpctx->sh_audio, mpctx->d_audio, mpctx->audio_out);
 
                 if (!quiet)