* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "avformat.h"
-#include "avi.h"
+#include "riff.h"
#define DEBUG
//#define DEBUG_DUMP_INDEX // XXX dumbdriving-271.nsv breaks with it commented!!
av_free(ast->index_entries);
av_free(ast);
}
- av_free(st->codec->extradata);
av_free(st->codec->palctrl);
}
return 0;
}
-static AVInputFormat nsv_iformat = {
+AVInputFormat nsv_demuxer = {
"nsv",
"NullSoft Video format",
sizeof(NSVContext),
nsv_read_close,
nsv_read_seek,
};
-
-int nsvdec_init(void)
-{
- av_register_input_format(&nsv_iformat);
- return 0;
-}