comparison ogg2.c @ 858:66cc656ea404 libavformat

Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS in libavformat to allow building (de)coders and (de)muxers independently at some point + support for this option in configure.
author diego
date Fri, 23 Sep 2005 00:25:41 +0000
parents feca73904e67
children 7e42b4e47dfc
comparison
equal deleted inserted replaced
857:26aaf3eed638 858:66cc656ea404
42 &theora_codec, 42 &theora_codec,
43 &flac_codec, 43 &flac_codec,
44 NULL 44 NULL
45 }; 45 };
46 46
47 #if 0 // CONFIG_ENCODERS 47 #if 0 // CONFIG_MUXERS
48 static int 48 static int
49 ogg_write_header (AVFormatContext * avfcontext) 49 ogg_write_header (AVFormatContext * avfcontext)
50 { 50 {
51 } 51 }
52 52
72 0, 72 0,
73 ogg_write_header, 73 ogg_write_header,
74 ogg_write_packet, 74 ogg_write_packet,
75 ogg_write_trailer, 75 ogg_write_trailer,
76 }; 76 };
77 #endif //CONFIG_ENCODERS 77 #endif //CONFIG_MUXERS
78 78
79 //FIXME We could avoid some structure duplication 79 //FIXME We could avoid some structure duplication
80 static int 80 static int
81 ogg_save (AVFormatContext * s) 81 ogg_save (AVFormatContext * s)
82 { 82 {
636 }; 636 };
637 637
638 int 638 int
639 ogg_init (void) 639 ogg_init (void)
640 { 640 {
641 #if 0 // CONFIG_ENCODERS 641 #if 0 // CONFIG_MUXERS
642 av_register_output_format (&ogg_oformat); 642 av_register_output_format (&ogg_oformat);
643 #endif 643 #endif
644 av_register_input_format (&ogg_iformat); 644 av_register_input_format (&ogg_iformat);
645 return 0; 645 return 0;
646 } 646 }