[FFmpeg-devel] [PATCH] examples: move metadata-example.c to doc/examples
Stefano Sabatini
stefano.sabatini-lala at poste.it
Tue Jul 5 17:24:09 CEST 2011
---
doc/examples/Makefile | 2 +-
.../metadata-example.c => doc/examples/metadata.c | 1 -
libavformat/Makefile | 1 -
3 files changed, 1 insertions(+), 3 deletions(-)
rename libavformat/metadata-example.c => doc/examples/metadata.c (97%)
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 4561b10..f8abdff 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 muxing
+EXAMPLES=encoding metadata muxing
OBJS=$(addsuffix .o,$(EXAMPLES))
diff --git a/libavformat/metadata-example.c b/doc/examples/metadata.c
similarity index 97%
rename from libavformat/metadata-example.c
rename to doc/examples/metadata.c
index 7bf77e7..7d29be7 100644
--- a/libavformat/metadata-example.c
+++ b/doc/examples/metadata.c
@@ -22,7 +22,6 @@
/**
* @file
- * @example libavformat/metadata-example.c
* Shows how the metadata API can be used in application programs.
*/
diff --git a/libavformat/Makefile b/libavformat/Makefile
index 27a6a9b..6d7a342 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -341,7 +341,6 @@ OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
OBJS-$(CONFIG_ALSA_INDEV) += timefilter.o
OBJS-$(CONFIG_JACK_INDEV) += timefilter.o
-EXAMPLES = metadata
TESTPROGS = timefilter
include $(SRC_PATH)/subdir.mak
--
1.7.2.5
More information about the ffmpeg-devel
mailing list