aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-09-16 22:57:00 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-09-16 22:57:00 +0000
commit78a9a77eace8aaa8fa4873d884035be2cf1185c4 (patch)
tree4468259d590bc5fec4e28409e3d02aaf873acc66
parentc866c7d04116987580a28147f9778e64ef90a64e (diff)
downloadffmpeg-78a9a77eace8aaa8fa4873d884035be2cf1185c4.tar.gz
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
-rw-r--r--libavcodec/flacdec.c4
1 files changed, 3 insertions, 1 deletions
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)"),
};