changeset 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 78c2a3932c87
children 9a577b684548
files flacdec.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flacdec.c	Wed Sep 16 19:20:48 2009 +0000
+++ b/flacdec.c	Wed Sep 16 22:57:00 2009 +0000
@@ -806,7 +806,9 @@
     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)"),
 };