comparison aiff.c @ 4206:c3102b189cb6 libavformat

Change semantic of CONFIG_*, HAVE_* and ARCH_*. They are now always defined to either 0 or 1.
author aurel
date Tue, 13 Jan 2009 23:44:16 +0000
parents 549a09cf23fe
children 20a889f18f23
comparison
equal deleted inserted replaced
4205:41878938d030 4206:c3102b189cb6
168 url_fseek(pb, size, SEEK_CUR); 168 url_fseek(pb, size, SEEK_CUR);
169 169
170 return num_frames; 170 return num_frames;
171 } 171 }
172 172
173 #ifdef CONFIG_AIFF_MUXER 173 #if CONFIG_AIFF_MUXER
174 typedef struct { 174 typedef struct {
175 int64_t form; 175 int64_t form;
176 int64_t frames; 176 int64_t frames;
177 int64_t ssnd; 177 int64_t ssnd;
178 } AIFFOutputContext; 178 } AIFFOutputContext;
437 /* Only one stream in an AIFF file */ 437 /* Only one stream in an AIFF file */
438 pkt->stream_index = 0; 438 pkt->stream_index = 0;
439 return 0; 439 return 0;
440 } 440 }
441 441
442 #ifdef CONFIG_AIFF_DEMUXER 442 #if CONFIG_AIFF_DEMUXER
443 AVInputFormat aiff_demuxer = { 443 AVInputFormat aiff_demuxer = {
444 "aiff", 444 "aiff",
445 NULL_IF_CONFIG_SMALL("Audio IFF"), 445 NULL_IF_CONFIG_SMALL("Audio IFF"),
446 0, 446 0,
447 aiff_probe, 447 aiff_probe,
451 pcm_read_seek, 451 pcm_read_seek,
452 .codec_tag= (const AVCodecTag* const []){codec_aiff_tags, 0}, 452 .codec_tag= (const AVCodecTag* const []){codec_aiff_tags, 0},
453 }; 453 };
454 #endif 454 #endif
455 455
456 #ifdef CONFIG_AIFF_MUXER 456 #if CONFIG_AIFF_MUXER
457 AVOutputFormat aiff_muxer = { 457 AVOutputFormat aiff_muxer = {
458 "aiff", 458 "aiff",
459 NULL_IF_CONFIG_SMALL("Audio IFF"), 459 NULL_IF_CONFIG_SMALL("Audio IFF"),
460 "audio/aiff", 460 "audio/aiff",
461 "aif,aiff,afc,aifc", 461 "aif,aiff,afc,aifc",