int old_format;
} RMContext;
+#ifdef CONFIG_ENCODERS
static void put_str(ByteIOContext *s, const char *tag)
{
put_be16(s,strlen(tag));
put_flush_packet(pb);
return 0;
}
+#endif //CONFIG_ENCODERS
/***************************************************/
rm_read_close,
};
+#ifdef CONFIG_ENCODERS
static AVOutputFormat rm_oformat = {
"rm",
"rm format",
rm_write_packet,
rm_write_trailer,
};
+#endif //CONFIG_ENCODERS
int rm_init(void)
{
av_register_input_format(&rm_iformat);
+#ifdef CONFIG_ENCODERS
av_register_output_format(&rm_oformat);
+#endif //CONFIG_ENCODERS
return 0;
}