diff options
author | Reinhard Tartler <siretart@tauware.de> | 2010-05-23 18:50:15 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2010-05-23 18:50:15 +0000 |
commit | a22222dadb6353410d50053f97cafb34eb4121fb (patch) | |
tree | 1822fb2dacb7d48c81029d0a7d3351cce5c5af81 /libavutil/avstring.h | |
parent | 28631e9393fd8cf55e6f1fca1a6676a8d6755b85 (diff) | |
download | ffmpeg-a22222dadb6353410d50053f97cafb34eb4121fb.tar.gz |
Open 2-pass logfile in binary mode for both reading and writing.
This fixes a regression on Windows introduced by r22769 in which the data read
from the file was not properly zero terminated. The file was read as text,
which caused the \r characters to be suppressed. Since the zero termination
happens at the end of the buffer, and there was one byte less read per line,
this caused the remaining space on the buffer to contain random data.
backport r23251 by ramiro
Originally committed as revision 23261 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
Diffstat (limited to 'libavutil/avstring.h')
0 files changed, 0 insertions, 0 deletions