mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
doc/examples/http_multiclient: fix mixed declarations and code
This commit is contained in:
parent
fb5e58cd77
commit
f2579f7ee2
@ -97,11 +97,11 @@ end:
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
av_log_set_level(AV_LOG_TRACE);
|
|
||||||
AVDictionary *options = NULL;
|
AVDictionary *options = NULL;
|
||||||
AVIOContext *client = NULL, *server = NULL;
|
AVIOContext *client = NULL, *server = NULL;
|
||||||
const char *in_uri, *out_uri;
|
const char *in_uri, *out_uri;
|
||||||
int ret, pid;
|
int ret, pid;
|
||||||
|
av_log_set_level(AV_LOG_TRACE);
|
||||||
if (argc < 3) {
|
if (argc < 3) {
|
||||||
printf("usage: %s input http://hostname[:port]\n"
|
printf("usage: %s input http://hostname[:port]\n"
|
||||||
"API example program to serve http to multiple clients.\n"
|
"API example program to serve http to multiple clients.\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user