examples: rename muxing to mux

This commit is contained in:
Stefano Sabatini 2023-01-15 12:53:31 +01:00
parent 7a53ae931d
commit eac4324bfb
5 changed files with 6 additions and 6 deletions

4
configure vendored
View File

@ -1723,7 +1723,7 @@ EXAMPLE_LIST="
extract_mvs_example
filter_audio_example
hw_decode_example
muxing_example
mux_example
qsvdec_example
remuxing_example
resampling_audio_example
@ -3787,7 +3787,7 @@ encode_video_example_deps="avcodec avutil"
extract_mvs_example_deps="avcodec avformat avutil"
filter_audio_example_deps="avfilter avutil"
hw_decode_example_deps="avcodec avformat avutil"
muxing_example_deps="avcodec avformat avutil swscale"
mux_example_deps="avcodec avformat avutil swscale"
qsvdec_example_deps="avcodec avutil libmfx h264_qsv_decoder"
remuxing_example_deps="avcodec avformat avutil"
resampling_audio_example_deps="avutil swresample"

View File

@ -11,7 +11,7 @@ EXAMPLES-$(CONFIG_ENCODE_VIDEO_EXAMPLE) += encode_video
EXAMPLES-$(CONFIG_EXTRACT_MVS_EXAMPLE) += extract_mvs
EXAMPLES-$(CONFIG_FILTER_AUDIO_EXAMPLE) += filter_audio
EXAMPLES-$(CONFIG_HW_DECODE_EXAMPLE) += hw_decode
EXAMPLES-$(CONFIG_MUXING_EXAMPLE) += muxing
EXAMPLES-$(CONFIG_MUX_EXAMPLE) += mux
EXAMPLES-$(CONFIG_QSVDEC_EXAMPLE) += qsvdec
EXAMPLES-$(CONFIG_REMUXING_EXAMPLE) += remuxing
EXAMPLES-$(CONFIG_RESAMPLING_AUDIO_EXAMPLE) += resampling_audio

View File

@ -24,7 +24,7 @@ EXAMPLES=\
encode_video \
extract_mvs \
hw_decode \
muxing \
mux \
remuxing \
resampling_audio \
scaling_video \

View File

@ -202,7 +202,7 @@ int main(int argc, char **argv)
It makes only sense because this tiny examples writes packets
directly. This is called "elementary stream" and only works for some
codecs. To create a valid file, you usually need to write packets
into a proper file format or protocol; see muxing.c.
into a proper file format or protocol; see mux.c.
*/
if (codec->id == AV_CODEC_ID_MPEG1VIDEO || codec->id == AV_CODEC_ID_MPEG2VIDEO)
fwrite(endcode, 1, sizeof(endcode), f);

View File

@ -26,7 +26,7 @@
*
* Output a media file in any supported libavformat format. The default
* codecs are used.
* @example muxing.c
* @example mux.c
*/
#include <stdlib.h>