]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/idroq.c
allow individual selection of muxers and demuxers
[ffmpeg] / libavformat / idroq.c
index 955152b2d4702163453f48836f1a10b3f634b882..e3c5cb0a851a17158ad59def8380a164c166cd8e 100644 (file)
@@ -14,7 +14,7 @@
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
@@ -278,7 +278,7 @@ static int roq_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat roq_iformat = {
+AVInputFormat roq_demuxer = {
     "RoQ",
     "Id RoQ format",
     sizeof(RoqDemuxContext),
@@ -287,9 +287,3 @@ static AVInputFormat roq_iformat = {
     roq_read_packet,
     roq_read_close,
 };
-
-int roq_init(void)
-{
-    av_register_input_format(&roq_iformat);
-    return 0;
-}