You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good point, I've been using the libasf code mostly for parsing audio files and in those cases I've supplied custom iostream callbacks. The file example hasn't been tested much, I'll fix this. Thank you!
Hi,
In asf.c, asf_seek_to_msec(), I found a small issue with following code:
seek_position = file->iostream.seek(file->iostream.opaque, new_position);
if (seek_position < 0 || (uint64_t)seek_position != new_position) {
return ASF_ERROR_SEEK;
}
Since fseek return "0" for successful operation, so "seek_position" == 0
and above condition test always failed.
Thank you.
The text was updated successfully, but these errors were encountered: