MAD Input: Fix seeking backwards and in general
A backwards comparison led to seeking forward doing a full seek up from the file start, and seeking backwards being a non-functional operation, so the file would just continue playing as if there were no seek. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
69ebce32c0
commit
2ed463034f
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@
|
||||||
|
|
||||||
framesToSkip = 0;
|
framesToSkip = 0;
|
||||||
|
|
||||||
if(frame > _framesDecoded) {
|
if(frame < _framesDecoded) {
|
||||||
_framesDecoded = 0;
|
_framesDecoded = 0;
|
||||||
_firstFrame = YES;
|
_firstFrame = YES;
|
||||||
if(_foundLAMEHeader || _foundiTunSMPB)
|
if(_foundLAMEHeader || _foundiTunSMPB)
|
||||||
|
|
Loading…
Reference in a new issue