summaryrefslogtreecommitdiff
path: root/src/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.cc')
-rw-r--r--src/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.cc b/src/player.cc
index bb495e5..de4e335 100644
--- a/src/player.cc
+++ b/src/player.cc
@@ -139,8 +139,6 @@ void Player::player()
int pitches[3];
- struct timespec ts;
-
if(!noErrors) return; // FIXME: Gracefully exit...
bool first = true;
@@ -211,6 +209,8 @@ void Player::player()
}
if(decoder) dv_decoder_free(decoder);
+ struct timespec ts;
+
/* Remove any late buffer */
/* We don't care, the encoder finishes them all */
ts.tv_sec = 0;