#574400 flvstreamer doesn't resume download when destination file exists but is empty

Package:
flvstreamer
Source:
flvstreamer
Description:
command-line RTMP client
Submitter:
Romuald Conty
Date:
2010-03-17 22:30:05 UTC
Severity:
normal
#574400#5
Date:
2010-03-17 22:23:33 UTC
From:
To:
If you try to resume a previous download that failed without putting any data in file but creating it anyway, flvstreamer will output:
<output>
FLVStreamer v2.1c1
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
</output>
and failed with error code 256.

To reproduce the bug:
touch /tmp/this-file-is-empty
flvstreamer -er rtmp://valid.destination.org/valid-file.flv -o /tmp/this-file-is-empty

BTW, thanks for this software!