diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2005-06-11 18:14:41 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2005-06-11 18:14:41 +0000 |
commit | 94b917e9ee1e287a2713fad52754250d591e0e57 (patch) | |
tree | 83dfa632d2887454768d0f59c609f8cc9536c06b /apps | |
parent | a380d90b98e6f36f892d125ce8dea4a8ced9d801 (diff) |
Setting current_fd to -1 at startup to prevent some rare crashes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6680 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c index 245db3b4dc..8d5ba3c830 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -1544,6 +1544,7 @@ void audio_init(void) playing = false; paused = false; track_changed = false; + current_fd = -1; logf("abuf:%0x", PCMBUF_SIZE); logf("fbuf:%0x", codecbuflen); |