[FFmpeg-cvslog] examples: rename "-example" suffix from examples files

Stefano Sabatini git at videolan.org
Mon Jul 4 11:30:26 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sat Jul  2 13:15:16 2011 +0200| [79f3384ce15db4bbf3aa49a526d79ae58ad231c2] | committer: Stefano Sabatini

examples: rename "-example" suffix from examples files

The suffix is redundant since the containing directory itself is
called "examples". Simplify.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=79f3384ce15db4bbf3aa49a526d79ae58ad231c2
---

 doc/examples/Makefile                           |    2 +-
 doc/examples/{encoding-example.c => encoding.c} |    0
 doc/examples/{muxing-example.c => muxing.c}     |    0
 3 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index c32d524..4561b10 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -3,7 +3,7 @@ FFMPEG_LIBS=libavdevice libavformat libavfilter libavcodec libswscale libavutil
 CFLAGS+=$(shell pkg-config  --cflags $(FFMPEG_LIBS))
 LDFLAGS+=$(shell pkg-config --libs $(FFMPEG_LIBS))
 
-EXAMPLES=encoding-example muxing-example
+EXAMPLES=encoding muxing
 
 OBJS=$(addsuffix .o,$(EXAMPLES))
 
diff --git a/doc/examples/encoding-example.c b/doc/examples/encoding.c
similarity index 100%
rename from doc/examples/encoding-example.c
rename to doc/examples/encoding.c
diff --git a/doc/examples/muxing-example.c b/doc/examples/muxing.c
similarity index 100%
rename from doc/examples/muxing-example.c
rename to doc/examples/muxing.c



More information about the ffmpeg-cvslog mailing list