#define AUDIO_ID 0xc0
#define VIDEO_ID 0xe0
+#ifdef CONFIG_ENCODERS
extern AVOutputFormat mpeg1system_mux;
extern AVOutputFormat mpeg1vcd_mux;
extern AVOutputFormat mpeg2vob_mux;
return 0;
}
+#endif //CONFIG_ENCODERS
/*********************************************/
/* demux code */
return 0;
}
+#ifdef CONFIG_ENCODERS
static AVOutputFormat mpeg1system_mux = {
"mpeg",
"MPEG1 System format",
mpeg_mux_write_packet,
mpeg_mux_end,
};
+#endif //CONFIG_ENCODERS
AVInputFormat mpegps_demux = {
"mpeg",
int mpegps_init(void)
{
+#ifdef CONFIG_ENCODERS
av_register_output_format(&mpeg1system_mux);
av_register_output_format(&mpeg1vcd_mux);
av_register_output_format(&mpeg2vob_mux);
+#endif //CONFIG_ENCODERS
av_register_input_format(&mpegps_demux);
return 0;
}