diff mbox series

[FFmpeg-devel,07/15] examples: rename muxing to mux

Message ID 20230115161035.584474-8-stefasab@gmail.com
State New
Headers show
Series [FFmpeg-devel,01/15] examples: rename avio_reading to avio_read_callback | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

Stefano Sabatini Jan. 15, 2023, 4:10 p.m. UTC
---
 configure                        | 4 ++--
 doc/examples/Makefile            | 2 +-
 doc/examples/Makefile.example    | 2 +-
 doc/examples/encode_video.c      | 2 +-
 doc/examples/{muxing.c => mux.c} | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
 rename doc/examples/{muxing.c => mux.c} (99%)
diff mbox series

Patch

diff --git a/configure b/configure
index 419bd03221..b65fdc6187 100755
--- a/configure
+++ b/configure
@@ -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
@@ -3780,7 +3780,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"
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 44a56dd84d..c91d26e4a0 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -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
diff --git a/doc/examples/Makefile.example b/doc/examples/Makefile.example
index db09ceddd1..920c7a2362 100644
--- a/doc/examples/Makefile.example
+++ b/doc/examples/Makefile.example
@@ -24,7 +24,7 @@  EXAMPLES=\
                 encode_video                       \
                 extract_mvs                        \
                 hw_decode                          \
-                muxing                             \
+                mux                                \
                 remuxing                           \
                 resampling_audio                   \
                 scaling_video                      \
diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c
index 939ed68324..6c3a3f5684 100644
--- a/doc/examples/encode_video.c
+++ b/doc/examples/encode_video.c
@@ -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);
diff --git a/doc/examples/muxing.c b/doc/examples/mux.c
similarity index 99%
rename from doc/examples/muxing.c
rename to doc/examples/mux.c
index cd997d5431..e3062c5003 100644
--- a/doc/examples/muxing.c
+++ b/doc/examples/mux.c
@@ -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>