summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorGael Chardon <gael.ffmpeg@4now.net>2004-02-14 15:04:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-02-14 15:04:01 +0000
commit4776fa926f1417ec928e2be41aa4a3f4bb8eda31 (patch)
tree028eb3a527d61dc7f7bee7078d53c5f8452d7ef3 /ffmpeg.c
parente9a4834a7da195365b194b2f084f0d1654878628 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 8f9ad0fe1c..6503e11a41 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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;