Allow progress to be returned if the duration is 0

This commit is contained in:
Thong Nguyen 2014-01-27 19:46:35 +00:00
parent 53667f8a35
commit f3f52cf1cd
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ AudioQueueBufferRefLookupEntry;
[self updateAudioDataSource];
}
if (retval > duration)
if (retval > duration && duration != 0)
{
retval = duration;
}