Browse Source

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
tags/v0.5
Gael Chardon Michael Niedermayer 22 years ago
parent
commit
4776fa926f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffmpeg.c

+ 1
- 1
ffmpeg.c View File

@@ -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;


Loading…
Cancel
Save