[FFmpeg-cvslog] ffmpeg: disable buffering for stderr, needed for win32 runtime

The makemkv authors git at videolan.org
Sun Sep 30 15:26:13 CEST 2012


ffmpeg | branch: master | The makemkv authors <?@makemkv.com> | Sun Sep 30 15:02:03 2012 +0200| [89a823ace9dbbb47cbea9b11756295c76fdc366e] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=89a823ace9dbbb47cbea9b11756295c76fdc366e
---

 ffmpeg.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index 3eb15a6..8a74ad1 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);
 



More information about the ffmpeg-cvslog mailing list