FS#11858 - Several *.rm / *.ra files do not play anymore

Attached to Project: Rockbox
Opened by Andree Buschmann (Buschel) - Tuesday, 04 January 2011, 07:39 GMT
Last edited by Andree Buschmann (Buschel) - Sunday, 09 January 2011, 21:33 GMT
Task Type Bugs
Category Codecs
Status Closed
Assigned To Andree Buschmann (Buschel)
Operating System All players
Severity Medium
Priority Normal
Reported Version Release 3.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The files cook_mono_64.ra, cook_stereo_64.ra (from and FUN_RM_132.rm (from do not play anymore. This is with r28960.
This task depends upon

Closed by  Andree Buschmann (Buschel)
Sunday, 09 January 2011, 21:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with r29015.
Comment by Andree Buschmann (Buschel) - Tuesday, 04 January 2011, 11:54 GMT
Maybe connected to r28937?
Comment by MichaelGiacomelli (saratoga) - Tuesday, 04 January 2011, 17:05 GMT
cook_stereo64 works for me, but mono_64 does not. I'm using r28927.

My guess is that I broke this:

I'll try and make time to look into this later this week.
Comment by Andree Buschmann (Buschel) - Wednesday, 05 January 2011, 18:43 GMT
Using r28936 cook_stereo_64, cook_mono_64 and FUN_RM_132.rm work again.
Comment by Andree Buschmann (Buschel) - Friday, 07 January 2011, 20:54 GMT
The files from above contain at least 2 media properties header/blocks. The first block contains the expected ".ra" (or the unsupported "LSD:"), the second block contains other metadata. In svn we abort with error in the second media properties header even though there was a valid first one.

Edit: The attached patch introduces a dedicated "LCD:"-handling (return with error as intended), but will not abort if there is an unknown ID (= happens in the second media properties block).