diff options
author | Gael Chardon <gael.ffmpeg@4now.net> | 2004-02-14 15:04:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-14 15:04:01 +0000 |
commit | 4776fa926f1417ec928e2be41aa4a3f4bb8eda31 (patch) | |
tree | 028eb3a527d61dc7f7bee7078d53c5f8452d7ef3 /ffmpeg.c | |
parent | e9a4834a7da195365b194b2f084f0d1654878628 (diff) | |
download | ffmpeg-4776fa926f1417ec928e2be41aa4a3f4bb8eda31.tar.gz |
Log file and Windows patch by ("Gael Chardon" <gael-announcements+ffmpeg at 4now dot net>)
Originally committed as revision 2781 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1320,7 +1320,7 @@ static int av_encode(AVFormatContext **output_files, fprintf(stderr, "Could not allocate log buffer\n"); exit(1); } - fread(logbuffer, 1, size, f); + size = fread(logbuffer, 1, size, f); fclose(f); logbuffer[size] = '\0'; codec->stats_in = logbuffer; |