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
Christopher Snowhill 2022-04-01 19:34:54 -07:00
parent 69ebce32c0
commit 2ed463034f
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@
framesToSkip = 0;
if(frame > _framesDecoded) {
if(frame < _framesDecoded) {
_framesDecoded = 0;
_firstFrame = YES;
if(_foundLAMEHeader || _foundiTunSMPB)