Mercurial > libavformat.hg
diff wc3movie.c @ 1169:d18cc9a1fd02 libavformat
allow individual selection of muxers and demuxers
author | mru |
---|---|
date | Mon, 10 Jul 2006 21:14:37 +0000 |
parents | d89d7ef290da |
children | 0899bfe4105c |
line wrap: on
line diff
--- a/wc3movie.c Mon Jul 10 12:10:10 2006 +0000 +++ b/wc3movie.c Mon Jul 10 21:14:37 2006 +0000 @@ -381,7 +381,7 @@ return 0; } -static AVInputFormat wc3_demuxer = { +AVInputFormat wc3_demuxer = { "wc3movie", "Wing Commander III movie format", sizeof(Wc3DemuxContext), @@ -390,9 +390,3 @@ wc3_read_packet, wc3_read_close, }; - -int wc3_init(void) -{ - av_register_input_format(&wc3_demuxer); - return 0; -}