comparison flacdec.c @ 10183:f2d62b685d49 libavcodec

add CODEC_CAP_SUBFRAMES to the FLAC decoder capabilities. also add a FIXME comment as a reminder that we can remove both capabilities once a parser is implemented.
author jbr
date Wed, 16 Sep 2009 22:57:00 +0000
parents 3fca809be8ed
children 87b01c645235
comparison
equal deleted inserted replaced
10182:78c2a3932c87 10183:f2d62b685d49
804 sizeof(FLACContext), 804 sizeof(FLACContext),
805 flac_decode_init, 805 flac_decode_init,
806 NULL, 806 NULL,
807 flac_decode_close, 807 flac_decode_close,
808 flac_decode_frame, 808 flac_decode_frame,
809 CODEC_CAP_DELAY, 809 CODEC_CAP_DELAY | CODEC_CAP_SUBFRAMES, /* FIXME: add a FLAC parser so that
810 we will not need to use either
811 of these capabilities */
810 .flush= flac_flush, 812 .flush= flac_flush,
811 .long_name= NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), 813 .long_name= NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
812 }; 814 };