[FFmpeg-devel] [PATCH 02/15] examples: rename demuxing_decoding to demux_decode

Stefano Sabatini stefasab at gmail.com
Sun Jan 15 18:10:22 EET 2023


Follow general scheme VERB_OBJECT.
---
 configure                                            | 4 ++--
 doc/examples/Makefile                                | 2 +-
 doc/examples/Makefile.example                        | 2 +-
 doc/examples/{demuxing_decoding.c => demux_decode.c} | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
 rename doc/examples/{demuxing_decoding.c => demux_decode.c} (99%)

diff --git a/configure b/configure
index 81acf17e08..a1488c442a 100755
--- a/configure
+++ b/configure
@@ -1714,7 +1714,7 @@ EXAMPLE_LIST="
     avio_read_callback_example
     decode_audio_example
     decode_video_example
-    demuxing_decoding_example
+    demux_decode_example
     encode_audio_example
     encode_video_example
     extract_mvs_example
@@ -3771,7 +3771,7 @@ avio_list_dir_deps="avformat avutil"
 avio_read_callback_deps="avformat avcodec avutil"
 decode_audio_example_deps="avcodec avutil"
 decode_video_example_deps="avcodec avutil"
-demuxing_decoding_example_deps="avcodec avformat avutil"
+demux_decode_example_deps="avcodec avformat avutil"
 encode_audio_example_deps="avcodec avutil"
 encode_video_example_deps="avcodec avutil"
 extract_mvs_example_deps="avcodec avformat avutil"
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index a651f5877a..adfcdb6aa3 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -2,7 +2,7 @@ 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
 EXAMPLES-$(CONFIG_DECODE_VIDEO_EXAMPLE)      += decode_video
-EXAMPLES-$(CONFIG_DEMUXING_DECODING_EXAMPLE) += demuxing_decoding
+EXAMPLES-$(CONFIG_DEMUX_DECODE_EXAMPLE)      += demux_decode
 EXAMPLES-$(CONFIG_ENCODE_AUDIO_EXAMPLE)      += encode_audio
 EXAMPLES-$(CONFIG_ENCODE_VIDEO_EXAMPLE)      += encode_video
 EXAMPLES-$(CONFIG_EXTRACT_MVS_EXAMPLE)       += extract_mvs
diff --git a/doc/examples/Makefile.example b/doc/examples/Makefile.example
index bcb485e306..33af323c6f 100644
--- a/doc/examples/Makefile.example
+++ b/doc/examples/Makefile.example
@@ -15,7 +15,7 @@ EXAMPLES=       avio_list_dir                      \
                 avio_read_callback                 \
                 decode_audio                       \
                 decode_video                       \
-                demuxing_decoding                  \
+                demux_decode                       \
                 encode_audio                       \
                 encode_video                       \
                 extract_mvs                        \
diff --git a/doc/examples/demuxing_decoding.c b/doc/examples/demux_decode.c
similarity index 99%
rename from doc/examples/demuxing_decoding.c
rename to doc/examples/demux_decode.c
index 999a78db0d..a2ca53b26b 100644
--- a/doc/examples/demuxing_decoding.c
+++ b/doc/examples/demux_decode.c
@@ -22,11 +22,11 @@
 
 /**
  * @file
- * Demuxing and decoding example.
+ * libavformat and libavcodec API example to demux and decode.
  *
  * Show how to use the libavformat and libavcodec API to demux and
  * decode audio and video data.
- * @example demuxing_decoding.c
+ * @example demux_decode.c
  */
 
 #include <libavutil/imgutils.h>
-- 
2.25.1



More information about the ffmpeg-devel mailing list