[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>
This commit is contained in:
parent
fc1a226791
commit
67f05bad27
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@
|
|||
}
|
||||
} else {
|
||||
// Past the end of the file.
|
||||
if(totalFrames <= _framesDecoded) {
|
||||
if([_source seekable] && totalFrames <= _framesDecoded) {
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue