Originally committed as revision 2781 to svn://svn.ffmpeg.org/ffmpeg/trunk
Gael Chardon authored on 2004/02/15 00:04:01... | ... |
@@ -1320,7 +1320,7 @@ static int av_encode(AVFormatContext **output_files, |
1320 | 1320 |
fprintf(stderr, "Could not allocate log buffer\n"); |
1321 | 1321 |
exit(1); |
1322 | 1322 |
} |
1323 |
- fread(logbuffer, 1, size, f); |
|
1323 |
+ size = fread(logbuffer, 1, size, f); |
|
1324 | 1324 |
fclose(f); |
1325 | 1325 |
logbuffer[size] = '\0'; |
1326 | 1326 |
codec->stats_in = logbuffer; |