Flush SDP description
authorLuca Barbato <lu_zero@gentoo.org>
Sat, 15 Nov 2008 12:32:38 +0000 (12:32 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 15 Nov 2008 12:32:38 +0000 (12:32 +0000)
Originally committed as revision 15826 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 9d74491..c53b8e6 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1488,6 +1488,7 @@ static void print_sdp(AVFormatContext **avc, int n)
 
     avf_sdp_create(avc, n, sdp, sizeof(sdp));
     printf("SDP:\n%s\n", sdp);
+    fflush(stdout);
 }
 
 static int stream_index_from_inputs(AVFormatContext **input_files,