[FFmpeg-cvslog] doc/examples/http_multiclient: fix mixed declarations and code

Clément Bœsch git at videolan.org
Fri Sep 30 20:40:38 EEST 2016


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Fri Sep 30 19:33:35 2016 +0200| [f2579f7ee232aaf7f4530e4b786fd0c33b6f4f8d] | committer: Clément Bœsch

doc/examples/http_multiclient: fix mixed declarations and code

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

 doc/examples/http_multiclient.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/examples/http_multiclient.c b/doc/examples/http_multiclient.c
index a48d36f..dde39f0 100644
--- a/doc/examples/http_multiclient.c
+++ b/doc/examples/http_multiclient.c
@@ -97,11 +97,11 @@ end:
 
 int main(int argc, char **argv)
 {
-    av_log_set_level(AV_LOG_TRACE);
     AVDictionary *options = NULL;
     AVIOContext *client = NULL, *server = NULL;
     const char *in_uri, *out_uri;
     int ret, pid;
+    av_log_set_level(AV_LOG_TRACE);
     if (argc < 3) {
         printf("usage: %s input http://hostname[:port]\n"
                "API example program to serve http to multiple clients.\n"



More information about the ffmpeg-cvslog mailing list