aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2023-01-15 12:44:04 +0100
committerStefano Sabatini <stefasab@gmail.com>2023-02-11 17:49:01 +0100
commit2e4694707e619ddb736489cc32ace997c6788930 (patch)
tree67c7eae826d0b44e66705f3af4b4dafb5c6c0480 /doc/examples
parent1ae619e8ee1d4ae9d16820df75b8dd9dcbedd8cd (diff)
downloadffmpeg-2e4694707e619ddb736489cc32ace997c6788930.tar.gz
examples: rename http_multiclient to avio_http_serve_files
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/Makefile2
-rw-r--r--doc/examples/Makefile.example5
-rw-r--r--doc/examples/avio_http_serve_files.c (renamed from doc/examples/http_multiclient.c)2
3 files changed, 5 insertions, 4 deletions
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index ba3a3b712a..f640a5e636 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -1,3 +1,4 @@
+EXAMPLES-$(CONFIG_AVIO_HTTP_SERVE_FILES) += avio_http_serve_files
EXAMPLES-$(CONFIG_AVIO_LIST_DIR_EXAMPLE) += avio_list_dir
EXAMPLES-$(CONFIG_AVIO_READ_CALLBACK_EXAMPLE) += avio_read_callback
EXAMPLES-$(CONFIG_DECODE_AUDIO_EXAMPLE) += decode_audio
@@ -9,7 +10,6 @@ EXAMPLES-$(CONFIG_ENCODE_AUDIO_EXAMPLE) += encode_audio
EXAMPLES-$(CONFIG_ENCODE_VIDEO_EXAMPLE) += encode_video
EXAMPLES-$(CONFIG_EXTRACT_MVS_EXAMPLE) += extract_mvs
EXAMPLES-$(CONFIG_FILTER_AUDIO_EXAMPLE) += filter_audio
-EXAMPLES-$(CONFIG_HTTP_MULTICLIENT_EXAMPLE) += http_multiclient
EXAMPLES-$(CONFIG_HW_DECODE_EXAMPLE) += hw_decode
EXAMPLES-$(CONFIG_METADATA_EXAMPLE) += metadata
EXAMPLES-$(CONFIG_MUXING_EXAMPLE) += muxing
diff --git a/doc/examples/Makefile.example b/doc/examples/Makefile.example
index 3383bb61fe..9e725715a5 100644
--- a/doc/examples/Makefile.example
+++ b/doc/examples/Makefile.example
@@ -11,7 +11,9 @@ CFLAGS += -Wall -g
CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)
-EXAMPLES= avio_list_dir \
+EXAMPLES=\
+ avio_http_serve_files \
+ avio_list_dir \
avio_read_callback \
decode_audio \
decode_filter_audio \
@@ -21,7 +23,6 @@ EXAMPLES= avio_list_dir \
encode_audio \
encode_video \
extract_mvs \
- http_multiclient \
hw_decode \
metadata \
muxing \
diff --git a/doc/examples/http_multiclient.c b/doc/examples/avio_http_serve_files.c
index 831e89c60a..d6a1d146f3 100644
--- a/doc/examples/http_multiclient.c
+++ b/doc/examples/avio_http_serve_files.c
@@ -24,7 +24,7 @@
* @file
* libavformat multi-client network API usage example.
*
- * @example http_multiclient.c
+ * @example avio_http_serve_files.c
* This example will serve a file without decoding or demuxing it over http.
* Multiple clients can connect and will receive the same file.
*/