mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
20bd921082
commit
89a823ace9
2
ffmpeg.c
2
ffmpeg.c
|
@ -3120,6 +3120,8 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
reset_options(&o, 0);
|
reset_options(&o, 0);
|
||||||
|
|
||||||
|
setvbuf(stderr,NULL,_IONBF,0); /* win32 runtime needs this */
|
||||||
|
|
||||||
av_log_set_flags(AV_LOG_SKIP_REPEATED);
|
av_log_set_flags(AV_LOG_SKIP_REPEATED);
|
||||||
parse_loglevel(argc, argv, options);
|
parse_loglevel(argc, argv, options);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue