Allow progress to be returned if the duration is 0
This commit is contained in:
parent
53667f8a35
commit
f3f52cf1cd
|
|
@ -208,7 +208,7 @@ AudioQueueBufferRefLookupEntry;
|
|||
[self updateAudioDataSource];
|
||||
}
|
||||
|
||||
if (retval > duration)
|
||||
if (retval > duration && duration != 0)
|
||||
{
|
||||
retval = duration;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue