examples: rename avcodec.c to decoding_encoding.c
authorStefano Sabatini <stefasab@gmail.com>
Tue, 1 Apr 2014 09:12:51 +0000 (11:12 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Wed, 23 Apr 2014 08:32:42 +0000 (10:32 +0200)
Restore the old name, which was more meaningful and consistent with the
names of the other examples.

.gitignore
configure
doc/examples/Makefile
doc/examples/decoding_encoding.c [moved from doc/examples/avcodec.c with 99% similarity]

index f2d09fd767f6d425be569c1919bf448942668f62..a7cd39bf67ff57ae395c346e5dfa008973005bd4 100644 (file)
@@ -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
index 38d8a5d10a3fad312135c17ca79aa2290bcc01d1..fe0a5ff676b0a19dd7ba9826fcd32dc9dc1c6405 100755 (executable)
--- a/configure
+++ b/configure
@@ -1284,7 +1284,7 @@ COMPONENT_LIST="
 
 EXAMPLE_LIST="
     avio_reading_example
-    avcodec_example
+    decoding_encoding_example
     demuxing_decoding_example
     filter_audio_example
     filtering_audio_example
index 646a63d121fe69e53ca1416394e623ebfc6875ef..03c7021e8bb14d6d88fadd2a0789d21f0d159871 100644 (file)
@@ -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                    \
similarity index 99%
rename from doc/examples/avcodec.c
rename to doc/examples/decoding_encoding.c
index 86727a7b48daaf49aed87cb3efebcf833d427430..0585e518ad58d795b523759f2e19319d21a05cde 100644 (file)
@@ -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