[MAD Decoder] Fix streamed MP3s not working
Due to a change designed to stop playback when the end of the file is reached, which should not be checked for unseekable files, which are web streams that only stop when the connection drops, or when the user stops playback manually. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
7adaeb4dd0
commit
9462e9fb70
|
@ -499,7 +499,7 @@
|
|||
}
|
||||
} else {
|
||||
// Past the end of the file.
|
||||
if(totalFrames <= _framesDecoded) {
|
||||
if([_source seekable] && totalFrames <= _framesDecoded) {
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue