From 78a9a77eace8aaa8fa4873d884035be2cf1185c4 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 16 Sep 2009 22:57:00 +0000 Subject: [PATCH] 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. Originally committed as revision 19891 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flacdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index d3a8b3327d..781b4fadf1 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -806,7 +806,9 @@ AVCodec flac_decoder = { NULL, flac_decode_close, flac_decode_frame, - CODEC_CAP_DELAY, + CODEC_CAP_DELAY | CODEC_CAP_SUBFRAMES, /* FIXME: add a FLAC parser so that + we will not need to use either + of these capabilities */ .flush= flac_flush, .long_name= NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), };