summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-17 01:48:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-17 02:22:01 +0100
commit1fc74926a5d13261721e1c9962c48db00d214853 (patch)
tree8215350a6b41a26d8d9041e594e6b927ed8e5e40 /doc/examples
parent91253839e14cce9793ee93f184cef609ca8195d5 (diff)
parentb339182eba34f28de5f1a477cdd2c84f1ef35d90 (diff)
Merge commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90'
* commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90': Move all example programs to doc/examples Conflicts: configure doc/Makefile doc/doxy-wrapper.sh doc/examples/avcodec.c doc/examples/decoding_encoding.c doc/examples/metadata.c doc/examples/muxing.c doc/examples/transcode_aac.c libavcodec/Makefile libavcodec/api-example.c libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/Makefile4
-rw-r--r--doc/examples/avcodec.c (renamed from doc/examples/decoding_encoding.c)2
-rw-r--r--doc/examples/transcode_aac.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index f4f6c70d8c..1553bab82c 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -12,7 +12,7 @@ CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)
EXAMPLES= avio_reading \
- decoding_encoding \
+ avcodec \
demuxing_decoding \
filtering_video \
filtering_audio \
@@ -26,7 +26,7 @@ EXAMPLES= avio_reading \
OBJS=$(addsuffix .o,$(EXAMPLES))
# the following examples make explicit use of the math library
-decoding_encoding: LDLIBS += -lm
+avcodec: LDLIBS += -lm
muxing: LDLIBS += -lm
resampling_audio: LDLIBS += -lm
diff --git a/doc/examples/decoding_encoding.c b/doc/examples/avcodec.c
index c3b501cf69..d56e6a480e 100644
--- a/doc/examples/decoding_encoding.c
+++ b/doc/examples/avcodec.c
@@ -24,10 +24,10 @@
* @file
* libavcodec API use example.
*
+ * @example avcodec.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
- * @example doc/examples/decoding_encoding.c
*/
#include <math.h>
diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c
index 2d4e55a2d3..bf0128f68d 100644
--- a/doc/examples/transcode_aac.c
+++ b/doc/examples/transcode_aac.c
@@ -20,7 +20,7 @@
* @file
* simple audio converter
*
- * @example doc/examples/transcode_aac.c
+ * @example transcode_aac.c
* Convert an input audio file to AAC in an MP4 container using FFmpeg.
* @author Andreas Unterweger (dustsigns@gmail.com)
*/