summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-01-09 21:19:16 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-01-09 21:19:16 +0000
commit9cb473319370810fbab474d26524d927d908c91f (patch)
tree53484c3b6c1cec748742aab33a964773d629d2e6 /apps
parent0afad89f5350e586d808326913005580b8f3ffc9 (diff)
downloadrockbox-9cb473319370810fbab474d26524d927d908c91f.tar.gz
rockbox-9cb473319370810fbab474d26524d927d908c91f.zip
Fix FS#11858 which was introduced with r28937. Several *.rm were not played because the parser aborted with error for several files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29015 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/metadata/rm.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/metadata/rm.c b/apps/metadata/rm.c
index 0b26a36ffc..8dc4fbe8db 100644
--- a/apps/metadata/rm.c
+++ b/apps/metadata/rm.c
@@ -375,10 +375,17 @@ static int rm_parse_header(int fd, RMContext *rmctx, struct mp3entry *id3)
375 else 375 else
376 skipped += temp; 376 skipped += temp;
377 } 377 }
378 else if (v == FOURCC('L','S','D',':'))
379 {
380 DEBUGF("Real audio lossless is not supported.");
381 return -1;
382 }
378 else 383 else
379 { 384 {
385 /* We shall not abort with -1 here. *.rm file often seem
386 * to have a second media properties header that contains
387 * other metadata. */
380 DEBUGF("Unknown header signature :\"%s\"\n", fourcc2str(v)); 388 DEBUGF("Unknown header signature :\"%s\"\n", fourcc2str(v));
381 return -1;
382 } 389 }
383 390
384 391