diff options
author | Max Kellermann <max@duempel.org> | 2009-01-24 19:16:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-24 19:16:07 +0100 |
commit | 0c71640528c5c566ec4770143c7831ace28b51d1 (patch) | |
tree | 802f7a6532242e6cc9c172e548f03507e64cd1a4 /src/playlist_save.h | |
parent | 961d1722001e4d89a60d5ffd5f553807f0e6f4e9 (diff) | |
download | mpd-0c71640528c5c566ec4770143c7831ace28b51d1.tar.gz mpd-0c71640528c5c566ec4770143c7831ace28b51d1.tar.xz mpd-0c71640528c5c566ec4770143c7831ace28b51d1.zip |
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.
Diffstat (limited to 'src/playlist_save.h')
0 files changed, 0 insertions, 0 deletions