summaryrefslogtreecommitdiffstats
path: root/apps/playback.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-12-09 17:34:33 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-12-09 17:34:33 -0500
commit65515f32b6c1b5e32061676683549c1028e03bff (patch)
tree9be06c98a0f7142a49513045e4e71cb05142b01d /apps/playback.c
parentc1a01beded5103df32ea2e3ec596e80de740cf2e (diff)
downloadrockbox-65515f32b6c1b5e32061676683549c1028e03bff.tar.gz
rockbox-65515f32b6c1b5e32061676683549c1028e03bff.tar.bz2
rockbox-65515f32b6c1b5e32061676683549c1028e03bff.zip
Fix yellow on hosted targets from c1a01be
Change-Id: I4c63efc6570368df76b6c4bbfb5b673dd081145b
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 356aad794a..dc88a37dc6 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -452,11 +452,13 @@ static void id3_write_locked(enum audio_id3_types id3_num,
/** --- Track info --- **/
+#ifdef HAVE_CODEC_BUFFERING
static void track_info_close_handle(int *hidp)
{
bufclose(*hidp);
*hidp = ERR_HANDLE_NOT_FOUND;
}
+#endif /* HAVE_CODEC_BUFFERING */
/* Invalidate all members to initial values - does not close handles or sync */
static void track_info_wipe(struct track_info *infop)