MAD Input: Possible further fix for seeking
This is a possible fix for another gap issue I experienced, and may be exposed by seeking from the start of the file without decoding first. Signed-off-by: Christopher Snowhill <kode54@gmail.com>CQTexperiment
parent
36d2d7b7e0
commit
299cc5a406
|
@ -695,6 +695,12 @@
|
|||
|
||||
framesToSkip = 0;
|
||||
|
||||
if(_foundLAMEHeader || _foundiTunSMPB) {
|
||||
if(_framesDecoded < _startPadding) {
|
||||
framesToSkip = _startPadding;
|
||||
}
|
||||
}
|
||||
|
||||
if(frame < _framesDecoded) {
|
||||
_framesDecoded = 0;
|
||||
_firstFrame = YES;
|
||||
|
|
Loading…
Reference in New Issue