modplug: unknown size is -1; check for empty file
The input_stream API sets size to -1 when the size of the resource is
not known. The modplug decoder checked for size==0, which would be an
empty file.
Showing
Please
register
or
sign in
to comment