forked from len0rd/rockbox
mpa: remove bad enum comparison spotted by gcc 4.5.1
MAD_FLAG_INCOMPLETE only applies to frame header and isn't an error git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27655 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3bc8fd0824
commit
2e7d92fef7
1 changed files with 1 additions and 2 deletions
|
|
@ -418,8 +418,7 @@ next_track:
|
|||
}
|
||||
|
||||
if (mad_frame_decode(&frame, &stream)) {
|
||||
if (stream.error == MAD_FLAG_INCOMPLETE
|
||||
|| stream.error == MAD_ERROR_BUFLEN) {
|
||||
if (stream.error == MAD_ERROR_BUFLEN) {
|
||||
/* This makes the codec support partially corrupted files */
|
||||
if (file_end == 30)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue