summaryrefslogtreecommitdiff
path: root/libavformat/voc.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-07-10 21:14:37 +0000
committerMåns Rullgård <mans@mansr.com>2006-07-10 21:14:37 +0000
commitff70e60176056daf646109b8e42654a3036fa02b (patch)
tree42e32d1e4bff334964cf93766ff2da6ee9a8f1d3 /libavformat/voc.c
parent4cac0d5589ab1a076e977425925015f2c8e591a8 (diff)
allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/voc.c')
-rw-r--r--libavformat/voc.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/libavformat/voc.c b/libavformat/voc.c
index 067c899a18..38256d3b91 100644
--- a/libavformat/voc.c
+++ b/libavformat/voc.c
@@ -173,7 +173,7 @@ static int voc_read_close(AVFormatContext *s)
return 0;
}
-static AVInputFormat voc_demuxer = {
+AVInputFormat voc_demuxer = {
"voc",
"Creative Voice File format",
sizeof(voc_dec_context_t),
@@ -256,7 +256,7 @@ static int voc_write_trailer(AVFormatContext *s)
return 0;
}
-static AVOutputFormat voc_muxer = {
+AVOutputFormat voc_muxer = {
"voc",
"Creative Voice File format",
"audio/x-voc",
@@ -270,15 +270,3 @@ static AVOutputFormat voc_muxer = {
};
#endif /* CONFIG_MUXERS */
-
-
-int voc_init(void)
-{
-#ifdef CONFIG_DEMUXERS
- av_register_input_format(&voc_demuxer);
-#endif /* CONFIG_DEMUXERS */
-#ifdef CONFIG_MUXERS
- av_register_output_format(&voc_muxer);
-#endif /* CONFIG_MUXERS */
- return 0;
-}