[FFmpeg-devel] [PATCH] tools/cws2fws.c tweaks
Wed Aug 25 01:31:38 CEST 2010
Is this tool still supported?
I was trying to use this tool on Windows but it repeatedly failed. I
discovered this was because it doesn't open the file in binary mode.
A simple binary or with O_BINARY solved that.
Then I saw that it was not interpreting the size correctly, reading
the input as signed chars. It managed to interpret hex(46 BD 0B 00)
as -17086. Changing them to unsigned chars fixed that.
I've attached a diff which has these changes.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 822 bytes
Desc: not available
More information about the ffmpeg-devel