mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-19 17:40:15 +02:00
lazy evaluate for OD ffmpeg seek test
This commit is contained in:
parent
77917b3268
commit
2aedaaa68d
@ -283,7 +283,7 @@ int ODFFmpegDecoder::Decode(samplePtr & data, sampleFormat & format, sampleCount
|
||||
|
||||
|
||||
//look at the decoding timestamp and see if the next sample that will be decoded is not the next sample we need.
|
||||
if(len && SeekingAllowed() && (mCurrentPos > start + len || mCurrentPos + kDecodeSampleAllowance < start )) {
|
||||
if(len && (mCurrentPos > start + len || mCurrentPos + kDecodeSampleAllowance < start ) && SeekingAllowed()) {
|
||||
sc = mScs[mStreamIndex];
|
||||
AVStream* st = sc->m_stream;
|
||||
int stindex = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user