comparison aiff.c @ 3435:a81155640306 libavformat

Remove wrappers of pcm_read_seek().
author ramiro
date Fri, 06 Jun 2008 21:53:03 +0000
parents 7a0230981402
children 579f6524e344
comparison
equal deleted inserted replaced
3434:3224f8d495a8 3435:a81155640306
431 /* Only one stream in an AIFF file */ 431 /* Only one stream in an AIFF file */
432 pkt->stream_index = 0; 432 pkt->stream_index = 0;
433 return 0; 433 return 0;
434 } 434 }
435 435
436 static int aiff_read_seek(AVFormatContext *s,
437 int stream_index, int64_t timestamp, int flags)
438 {
439 return pcm_read_seek(s, stream_index, timestamp, flags);
440 }
441
442 #ifdef CONFIG_AIFF_DEMUXER 436 #ifdef CONFIG_AIFF_DEMUXER
443 AVInputFormat aiff_demuxer = { 437 AVInputFormat aiff_demuxer = {
444 "aiff", 438 "aiff",
445 NULL_IF_CONFIG_SMALL("Audio IFF"), 439 NULL_IF_CONFIG_SMALL("Audio IFF"),
446 0, 440 0,
447 aiff_probe, 441 aiff_probe,
448 aiff_read_header, 442 aiff_read_header,
449 aiff_read_packet, 443 aiff_read_packet,
450 NULL, 444 NULL,
451 aiff_read_seek, 445 pcm_read_seek,
452 .codec_tag= (const AVCodecTag*[]){codec_aiff_tags, 0}, 446 .codec_tag= (const AVCodecTag*[]){codec_aiff_tags, 0},
453 }; 447 };
454 #endif 448 #endif
455 449
456 #ifdef CONFIG_AIFF_MUXER 450 #ifdef CONFIG_AIFF_MUXER