diff psxstr.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 996ce2a68147
line wrap: on
line diff
--- a/psxstr.c	Mon Jul 10 12:10:10 2006 +0000
+++ b/psxstr.c	Mon Jul 10 21:14:37 2006 +0000
@@ -351,7 +351,7 @@
     return 0;
 }
 
-static AVInputFormat str_demuxer = {
+AVInputFormat str_demuxer = {
     "psxstr",
     "Sony Playstation STR format",
     sizeof(StrDemuxContext),
@@ -360,9 +360,3 @@
     str_read_packet,
     str_read_close,
 };
-
-int str_init(void)
-{
-    av_register_input_format(&str_demuxer);
-    return 0;
-}