[FFmpeg-cvslog] examples: move metadata-example.c to doc/examples

Stefano Sabatini git at videolan.org
Fri Jul 8 09:48:31 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Tue Jul  5 17:22:56 2011 +0200| [a953577b46fdaf4655d110c60925c2fc331f9c17] | committer: Stefano Sabatini

examples: move metadata-example.c to doc/examples

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

 doc/examples/Makefile                              |    2 +-
 .../metadata-example.c => doc/examples/metadata.c  |    1 -
 libavformat/Makefile                               |    1 -
 3 files changed, 1 insertions(+), 3 deletions(-)

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



More information about the ffmpeg-cvslog mailing list