[FFmpeg-devel] [PATCH] examples: rename avcodec.c to decoding_encoding.c

Stefano Sabatini stefasab at gmail.com
Tue Apr 1 11:14:49 CEST 2014


Restore the old name, which was more meaningful and consistent with the
names of the other examples.
---
 .gitignore                                      | 2 +-
 configure                                       | 2 +-
 doc/examples/Makefile                           | 2 +-
 doc/examples/{avcodec.c => decoding_encoding.c} | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
 rename doc/examples/{avcodec.c => decoding_encoding.c} (99%)

diff --git a/.gitignore b/.gitignore
index f2d09fd..a7cd39b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,7 +36,7 @@
 /doc/avoptions_format.texi
 /doc/doxy/html/
 /doc/examples/avio_reading
-/doc/examples/avcodec
+/doc/examples/decoding_encoding
 /doc/examples/demuxing_decoding
 /doc/examples/filter_audio
 /doc/examples/filtering_audio
diff --git a/configure b/configure
index b82891c..69ce866 100755
--- a/configure
+++ b/configure
@@ -1261,7 +1261,7 @@ COMPONENT_LIST="
 
 EXAMPLE_LIST="
     avio_reading_example
-    avcodec_example
+    decoding_encoding_example
     demuxing_decoding_example
     filter_audio_example
     filtering_audio_example
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 646a63d..03c7021 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -12,7 +12,7 @@ CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
 LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)
 
 EXAMPLES=       avio_reading                       \
-                avcodec                            \
+                decoding_encoding                  \
                 demuxing_decoding                  \
                 filtering_video                    \
                 filtering_audio                    \
diff --git a/doc/examples/avcodec.c b/doc/examples/decoding_encoding.c
similarity index 99%
rename from doc/examples/avcodec.c
rename to doc/examples/decoding_encoding.c
index 86727a7..0585e51 100644
--- a/doc/examples/avcodec.c
+++ b/doc/examples/decoding_encoding.c
@@ -24,7 +24,7 @@
  * @file
  * libavcodec API use example.
  *
- * @example avcodec.c
+ * @example decoding_encoding.c
  * Note that libavcodec only handles codecs (mpeg, mpeg4, etc...),
  * not file formats (avi, vob, mp4, mov, mkv, mxf, flv, mpegts, mpegps, etc...). See library 'libavformat' for the
  * format handling
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list