diff 4xm.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/4xm.c	Mon Jul 10 12:10:10 2006 +0000
+++ b/4xm.c	Mon Jul 10 21:14:37 2006 +0000
@@ -318,7 +318,7 @@
     return 0;
 }
 
-static AVInputFormat fourxm_demuxer = {
+AVInputFormat fourxm_demuxer = {
     "4xm",
     "4X Technologies format",
     sizeof(FourxmDemuxContext),
@@ -327,9 +327,3 @@
     fourxm_read_packet,
     fourxm_read_close,
 };
-
-int fourxm_init(void)
-{
-    av_register_input_format(&fourxm_demuxer);
-    return 0;
-}