0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 },
};
+#ifdef CONFIG_ENCODERS
static void put_guid(ByteIOContext *s, const GUID *g)
{
int i;
put_flush_packet(&s->pb);
return 0;
}
+#endif //CONFIG_ENCODERS
/**********************************/
/* decoding */
asf_read_seek,
};
+#ifdef CONFIG_ENCODERS
static AVOutputFormat asf_oformat = {
"asf",
"asf format",
asf_write_packet,
asf_write_trailer,
};
+#endif //CONFIG_ENCODERS
int asf_init(void)
{
av_register_input_format(&asf_iformat);
+#ifdef CONFIG_ENCODERS
av_register_output_format(&asf_oformat);
av_register_output_format(&asf_stream_oformat);
+#endif //CONFIG_ENCODERS
return 0;
}