summaryrefslogtreecommitdiff
path: root/apps/metadata/ogg.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-09-24 17:43:10 +0000
committerNils Wallménius <nils@rockbox.org>2008-09-24 17:43:10 +0000
commit1121af7b5e8bb175c8bb0fcb6cca66286f4f3342 (patch)
tree5ec9af3003354f947d28819aa5607138df11ab5a /apps/metadata/ogg.c
parentff21c63b2b74b0166ceb83a68fce97cdebe634c9 (diff)
Print a helpful error in the sim for usupported formats in Ogg containers (f.e. Ogg/FLAC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18623 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/ogg.c')
-rw-r--r--apps/metadata/ogg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/metadata/ogg.c b/apps/metadata/ogg.c
index ef43cf963d..edb55f53a3 100644
--- a/apps/metadata/ogg.c
+++ b/apps/metadata/ogg.c
@@ -104,6 +104,8 @@ bool get_ogg_metadata(int fd, struct mp3entry* id3)
}
else
{
+ /* Unsupported format, try to print the marker, catches Ogg/FLAC at least */
+ DEBUGF("Usupported format in Ogg stream: %16s\n", &buf[28]);
return false;
}