Package: checkmp3
Version: 1.98-5
Severity: Grave
Tags: patch

Attempting to fix mp3s with 'checkmp3 -sf' will
corrupt the file if the "Something happened[...]"
error message is triggered because the error message
goes to standard output, just like the mp3 frames.

Without redirecting stdout to a file:

$checkmp3 -sf foo.mp3
Something happened at byte 74. Next expected frame: 4.
��K     `,%
[mp3 frames omitted]
$

When redirecting to a file:

$checkmp3 -sf foo.mp3 > bar.mp3
$


Fix is trivial, just make the error message go to
stderr instead of stdout. Patch attached.

I'm not a coder, it may not be correct, but it's done
this way in other places in the code. And it works.




                
___________________________________________________________ 
NEW Yahoo! Cars - sell your car and browse thousands of new and used cars 
online! http://uk.cars.yahoo.com/

Attachment: checkmp3.patch
Description: 2795105154-checkmp3.patch

Reply via email to