aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avs.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/avs.c
parent4cac0d5589ab1a076e977425925015f2c8e591a8 (diff)
downloadffmpeg-ff70e60176056daf646109b8e42654a3036fa02b.tar.gz
allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avs.c')
-rw-r--r--libavformat/avs.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/libavformat/avs.c b/libavformat/avs.c
index deb825fb51..73458a70d1 100644
--- a/libavformat/avs.c
+++ b/libavformat/avs.c
@@ -41,9 +41,6 @@ typedef enum avs_block_type {
AVS_GAME_DATA = 0x04,
} avs_block_type_t;
-
-#ifdef CONFIG_DEMUXERS
-
static int avs_probe(AVProbeData * p)
{
const uint8_t *d;
@@ -217,7 +214,7 @@ static int avs_read_close(AVFormatContext * s)
return 0;
}
-static AVInputFormat avs_demuxer = {
+AVInputFormat avs_demuxer = {
"avs",
"avs format",
sizeof(avs_format_t),
@@ -226,13 +223,3 @@ static AVInputFormat avs_demuxer = {
avs_read_packet,
avs_read_close,
};
-
-#endif /* CONFIG_DEMUXERS */
-
-int avs_init(void)
-{
-#ifdef CONFIG_DEMUXERS
- av_register_input_format(&avs_demuxer);
-#endif /* CONFIG_DEMUXERS */
- return 0;
-}