[FFmpeg-devel] [PATCH] doc/examples: simplify example program names

Stefano Sabatini stefano.sabatini-lala at poste.it
Wed Jun 22 22:59:26 CEST 2011


The "-example" suffix is redundant as the name of the containing dir
is "examples".
---
 doc/examples/Makefile                         |    2 +-
 doc/examples/{encoding-example.c => encode.c} |    0
 doc/examples/{muxing-example.c => mux.c}      |    0
 3 files changed, 1 insertions(+), 1 deletions(-)
 rename doc/examples/{encoding-example.c => encode.c} (100%)
 rename doc/examples/{muxing-example.c => mux.c} (100%)

diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index c32d524..b394200 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=encode mux
 
 OBJS=$(addsuffix .o,$(EXAMPLES))
 
diff --git a/doc/examples/encoding-example.c b/doc/examples/encode.c
similarity index 100%
rename from doc/examples/encoding-example.c
rename to doc/examples/encode.c
diff --git a/doc/examples/muxing-example.c b/doc/examples/mux.c
similarity index 100%
rename from doc/examples/muxing-example.c
rename to doc/examples/mux.c
-- 
1.7.2.5



More information about the ffmpeg-devel mailing list