comparison ogg2.c @ 1167:d89d7ef290da libavformat

give AVInput/OutputFormat structs consistent names
author mru
date Sun, 09 Jul 2006 23:40:53 +0000
parents 19ceddeafe2e
children d18cc9a1fd02
comparison
equal deleted inserted replaced
1166:e89500dd9064 1167:d89d7ef290da
63 ogg_write_trailer (AVFormatContext * avfcontext) 63 ogg_write_trailer (AVFormatContext * avfcontext)
64 { 64 {
65 } 65 }
66 66
67 67
68 static AVOutputFormat ogg_oformat = { 68 static AVOutputFormat ogg_muxer = {
69 "ogg", 69 "ogg",
70 "Ogg Vorbis", 70 "Ogg Vorbis",
71 "audio/x-vorbis", 71 "audio/x-vorbis",
72 "ogg", 72 "ogg",
73 sizeof (OggContext), 73 sizeof (OggContext),
654 return AVPROBE_SCORE_MAX; 654 return AVPROBE_SCORE_MAX;
655 else 655 else
656 return 0; 656 return 0;
657 } 657 }
658 658
659 static AVInputFormat ogg_iformat = { 659 static AVInputFormat ogg_demuxer = {
660 "ogg", 660 "ogg",
661 "Ogg", 661 "Ogg",
662 sizeof (ogg_t), 662 sizeof (ogg_t),
663 ogg_probe, 663 ogg_probe,
664 ogg_read_header, 664 ogg_read_header,
671 671
672 int 672 int
673 ogg_init (void) 673 ogg_init (void)
674 { 674 {
675 #if 0 // CONFIG_MUXERS 675 #if 0 // CONFIG_MUXERS
676 av_register_output_format (&ogg_oformat); 676 av_register_output_format (&ogg_muxer);
677 #endif 677 #endif
678 av_register_input_format (&ogg_iformat); 678 av_register_input_format (&ogg_demuxer);
679 return 0; 679 return 0;
680 } 680 }