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>CQTexperiment
parent
69ebce32c0
commit
2ed463034f
|
@ -691,7 +691,7 @@
|
|||
|
||||
framesToSkip = 0;
|
||||
|
||||
if(frame > _framesDecoded) {
|
||||
if(frame < _framesDecoded) {
|
||||
_framesDecoded = 0;
|
||||
_firstFrame = YES;
|
||||
if(_foundLAMEHeader || _foundiTunSMPB)
|
||||
|
|
Loading…
Reference in New Issue