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)"), };