From ff70e60176056daf646109b8e42654a3036fa02b Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Mon, 10 Jul 2006 21:14:37 +0000 Subject: allow individual selection of muxers and demuxers Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/voc.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'libavformat/voc.c') 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; -} -- cgit v1.2.3