diff segafilm.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/segafilm.c	Mon Jul 10 12:10:10 2006 +0000
+++ b/segafilm.c	Mon Jul 10 21:14:37 2006 +0000
@@ -297,7 +297,7 @@
     return 0;
 }
 
-static AVInputFormat film_demuxer = {
+AVInputFormat segafilm_demuxer = {
     "film_cpk",
     "Sega FILM/CPK format",
     sizeof(FilmDemuxContext),
@@ -306,9 +306,3 @@
     film_read_packet,
     film_read_close,
 };
-
-int film_init(void)
-{
-    av_register_input_format(&film_demuxer);
-    return 0;
-}