[FFmpeg-devel] [PATCH 01/15] examples: rename avio_reading to avio_read_callback

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


Adopt general scheme VERB_OBJECT.
---
 configure                                             | 4 ++--
 doc/examples/Makefile                                 | 2 +-
 doc/examples/Makefile.example                         | 2 +-
 doc/examples/{avio_reading.c => avio_read_callback.c} | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
 rename doc/examples/{avio_reading.c => avio_read_callback.c} (99%)

diff --git a/configure b/configure
index df69d39669..81acf17e08 100755
--- a/configure
+++ b/configure
@@ -1711,7 +1711,7 @@ COMPONENT_LIST="
 
 EXAMPLE_LIST="
     avio_list_dir_example
-    avio_reading_example
+    avio_read_callback_example
     decode_audio_example
     decode_video_example
     demuxing_decoding_example
@@ -3768,7 +3768,7 @@ yadif_videotoolbox_filter_deps="metal corevideo videotoolbox"
 
 # examples
 avio_list_dir_deps="avformat avutil"
-avio_reading_deps="avformat avcodec 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"
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index f937fbefda..a651f5877a 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -1,5 +1,5 @@
 EXAMPLES-$(CONFIG_AVIO_LIST_DIR_EXAMPLE)     += avio_list_dir
-EXAMPLES-$(CONFIG_AVIO_READING_EXAMPLE)      += avio_reading
+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
diff --git a/doc/examples/Makefile.example b/doc/examples/Makefile.example
index a232d97f98..bcb485e306 100644
--- a/doc/examples/Makefile.example
+++ b/doc/examples/Makefile.example
@@ -12,7 +12,7 @@ CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
 LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)
 
 EXAMPLES=       avio_list_dir                      \
-                avio_reading                       \
+                avio_read_callback                 \
                 decode_audio                       \
                 decode_video                       \
                 demuxing_decoding                  \
diff --git a/doc/examples/avio_reading.c b/doc/examples/avio_read_callback.c
similarity index 99%
rename from doc/examples/avio_reading.c
rename to doc/examples/avio_read_callback.c
index 36ee02afa5..e57a66bdec 100644
--- a/doc/examples/avio_reading.c
+++ b/doc/examples/avio_read_callback.c
@@ -26,7 +26,7 @@
  *
  * Make libavformat demuxer access media content through a custom
  * AVIOContext read callback.
- * @example avio_reading.c
+ * @example avio_read_callback.c
  */
 
 #include <libavcodec/avcodec.h>
-- 
2.25.1



More information about the ffmpeg-devel mailing list