aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/flvenc.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/flvenc.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/flvenc.c')
-rw-r--r--libavformat/flvenc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 8518626118..7c945878db 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -167,7 +167,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
-static AVOutputFormat flv_muxer = {
+AVOutputFormat flv_muxer = {
"flv",
"flv format",
"video/x-flv",
@@ -183,9 +183,3 @@ static AVOutputFormat flv_muxer = {
flv_write_packet,
flv_write_trailer,
};
-
-int flvenc_init(void)
-{
- av_register_output_format(&flv_muxer);
- return 0;
-}