]> git.tuebingen.mpg.de Git - paraslash.git/commit
fix handling of corrupt mp3 files
authorAndre <maan@meins.(none)>
Sat, 4 Nov 2006 13:59:40 +0000 (14:59 +0100)
committerAndre <maan@meins.(none)>
Sat, 4 Nov 2006 13:59:40 +0000 (14:59 +0100)
commit66445ee977f7f65604f16c9b78454da7456bb865
tree7a2ff30c0a964136aa94c3eacba81e75a75f4c5d
parent8e1e5cc794c84fcfee75f701b339ae85a02eb1b8
fix handling of corrupt mp3 files

When a recoverable error occured we always returned FRAME_HEADER_SIZE
in mp3dec, which is clearly wrong if the error did not happen in the
first frame.

Fix is not to distinguish between recoverable and unrecoverable
errors which even simplifies the code a bit.
mp3dec.c