]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/matroska.c
Minor resync optimization
[ffmpeg] / libavformat / matroska.c
index 3d4fca681e4c187848daa657758b884fd3852484..d22e85f2c2e93bdd9a4334ab46bf7dedbe8cb4fe 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "avformat.h"
 /* For codec_get_bmp_id and codec_get_wav_id. */
-#include "avi.h"
+#include "riff.h"
 #include "intfloat_readwrite.h"
 
 /* EBML version supported */
@@ -2635,7 +2635,7 @@ matroska_read_close (AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat matroska_demuxer = {
+AVInputFormat matroska_demuxer = {
     "matroska",
     "Matroska file format",
     sizeof(MatroskaDemuxContext),
@@ -2644,10 +2644,3 @@ static AVInputFormat matroska_demuxer = {
     matroska_read_packet,
     matroska_read_close,
 };
-
-int
-matroska_init(void)
-{
-    av_register_input_format(&matroska_demuxer);
-    return 0;
-}