Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe makemkv authors <?@makemkv.com>2012-09-30 17:02:03 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-09-30 17:13:35 +0400
commit89a823ace9dbbb47cbea9b11756295c76fdc366e (patch)
treefdfbfd5ea20de54a87e765eb80eeecc97d4a31b7 /ffmpeg.c
parent20bd9210821cfbe1a119b71e103510c6714bf86a (diff)
ffmpeg: disable buffering for stderr, needed for win32 runtime
Found in http://www.makemkv.com/download/ffmpeg/mmffmpeg-1.7.7.patch.gz Commit message by commiter Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 3eb15a6494..8a74ad1224 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3120,6 +3120,8 @@ int main(int argc, char **argv)
reset_options(&o, 0);
+ setvbuf(stderr,NULL,_IONBF,0); /* win32 runtime needs this */
+
av_log_set_flags(AV_LOG_SKIP_REPEATED);
parse_loglevel(argc, argv, options);