examples: rename http_multiclient to avio_http_serve_files

This commit is contained in:
Stefano Sabatini 2023-01-15 12:44:04 +01:00
parent 1ae619e8ee
commit 2e4694707e
4 changed files with 7 additions and 6 deletions

4
configure vendored
View File

@ -1710,6 +1710,7 @@ COMPONENT_LIST="
"
EXAMPLE_LIST="
avio_http_serve_files_example
avio_list_dir_example
avio_read_callback_example
decode_audio_example
@ -1721,7 +1722,6 @@ EXAMPLE_LIST="
encode_video_example
extract_mvs_example
filter_audio_example
http_multiclient_example
hw_decode_example
metadata_example
muxing_example
@ -3774,6 +3774,7 @@ vstack_vaapi_filter_deps="vaapi_1"
xstack_vaapi_filter_deps="vaapi_1"
# examples
avio_http_serve_files_deps="avformat avutil fork"
avio_list_dir_deps="avformat avutil"
avio_read_callback_deps="avformat avcodec avutil"
decode_audio_example_deps="avcodec avutil"
@ -3785,7 +3786,6 @@ encode_audio_example_deps="avcodec avutil"
encode_video_example_deps="avcodec avutil"
extract_mvs_example_deps="avcodec avformat avutil"
filter_audio_example_deps="avfilter avutil"
http_multiclient_example_deps="avformat avutil fork"
hw_decode_example_deps="avcodec avformat avutil"
metadata_example_deps="avformat avutil"
muxing_example_deps="avcodec avformat avutil swscale"

View File

@ -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

View File

@ -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 \

View File

@ -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.
*/