summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-11-08 11:22:29 +0000
committerDiego Biurrun <diego@biurrun.de>2007-11-08 11:22:29 +0000
commitf9e4ed19d20103220b51bf1d2bd661fc48224036 (patch)
tree79746cf84968cb288182b259b93e61df7427f825 /libavformat
parent3240941b2552ec9b6373163240bb89a4bab40c50 (diff)
Give Ogg muxer a lib prefix in the name like we do with all other formats
implemented through external libraries, plus rename the files accordingly. Originally committed as revision 10956 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/Makefile2
-rw-r--r--libavformat/allformats.c3
-rw-r--r--libavformat/libogg.c (renamed from libavformat/ogg.c)4
3 files changed, 5 insertions, 4 deletions
diff --git a/libavformat/Makefile b/libavformat/Makefile
index 2bc7efc0d5..e97236c80c 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -113,7 +113,6 @@ OBJS-$(CONFIG_OGG_DEMUXER) += oggdec.o \
oggparseflac.o \
oggparseogm.o \
riff.o
-OBJS-$(CONFIG_OGG_MUXER) += ogg.o
OBJS-$(CONFIG_OSS_DEMUXER) += audio.o
OBJS-$(CONFIG_OSS_MUXER) += audio.o
OBJS-$(CONFIG_PSP_MUXER) += movenc.o riff.o isom.o
@@ -161,6 +160,7 @@ OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER) += yuv4mpeg.o
OBJS-$(CONFIG_LIBDC1394_DEMUXER) += libdc1394.o
OBJS-$(CONFIG_LIBNUT_DEMUXER) += libnut.o riff.o
OBJS-$(CONFIG_LIBNUT_MUXER) += libnut.o riff.o
+OBJS-$(CONFIG_LIBOGG_MUXER) += libogg.o
OBJS-$(CONFIG_VHOOK) += framehook.o
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index 52529974d1..ad5c6af028 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -122,7 +122,7 @@ void av_register_all(void)
REGISTER_MUXER (NULL, null);
REGISTER_MUXDEMUX (NUT, nut);
REGISTER_DEMUXER (NUV, nuv);
- REGISTER_MUXDEMUX (OGG, ogg);
+ REGISTER_DEMUXER (OGG, ogg);
REGISTER_MUXDEMUX (OSS, oss);
REGISTER_MUXDEMUX (PCM_ALAW, pcm_alaw);
REGISTER_MUXDEMUX (PCM_MULAW, pcm_mulaw);
@@ -172,6 +172,7 @@ void av_register_all(void)
/* external libraries */
REGISTER_DEMUXER (LIBDC1394, libdc1394);
REGISTER_MUXDEMUX (LIBNUT, libnut);
+ REGISTER_MUXER (LIBOGG, libogg);
/* protocols */
REGISTER_PROTOCOL (FILE, file);
diff --git a/libavformat/ogg.c b/libavformat/libogg.c
index 71906bdc73..9ed4f1d5f0 100644
--- a/libavformat/ogg.c
+++ b/libavformat/libogg.c
@@ -151,8 +151,8 @@ static int ogg_write_trailer(AVFormatContext *avfcontext) {
}
-AVOutputFormat ogg_muxer = {
- "ogg",
+AVOutputFormat libogg_muxer = {
+ "libogg",
"Ogg format",
"application/ogg",
"ogg",