comparison raw.c @ 2022:4f62a7d9381a libavformat

Make the declaration of AVInputFormat ac3_demuxer conditional on CONFIG_AC3_DEMUXER.
author diego
date Sun, 15 Apr 2007 12:35:44 +0000
parents d54b738a5bfa
children a3e79d6e4e3c
comparison
equal deleted inserted replaced
2021:d54b738a5bfa 2022:4f62a7d9381a
472 raw_write_trailer, 472 raw_write_trailer,
473 .flags= AVFMT_NOTIMESTAMPS, 473 .flags= AVFMT_NOTIMESTAMPS,
474 }; 474 };
475 #endif //CONFIG_MUXERS 475 #endif //CONFIG_MUXERS
476 476
477 #ifdef CONFIG_AC3_DEMUXER
477 AVInputFormat ac3_demuxer = { 478 AVInputFormat ac3_demuxer = {
478 "ac3", 479 "ac3",
479 "raw ac3", 480 "raw ac3",
480 0, 481 0,
481 ac3_probe, 482 ac3_probe,
483 raw_read_partial_packet, 484 raw_read_partial_packet,
484 raw_read_close, 485 raw_read_close,
485 .flags= AVFMT_GENERIC_INDEX, 486 .flags= AVFMT_GENERIC_INDEX,
486 .extensions = "ac3", 487 .extensions = "ac3",
487 }; 488 };
489 #endif
488 490
489 #ifdef CONFIG_MUXERS 491 #ifdef CONFIG_MUXERS
490 AVOutputFormat ac3_muxer = { 492 AVOutputFormat ac3_muxer = {
491 "ac3", 493 "ac3",
492 "raw ac3", 494 "raw ac3",