[FFmpeg-cvslog] r19891 - trunk/libavcodec/flacdec.c

jbr subversion
Thu Sep 17 00:57:00 CEST 2009


Author: jbr
Date: Thu Sep 17 00:57:00 2009
New Revision: 19891

Log:
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.

Modified:
   trunk/libavcodec/flacdec.c

Modified: trunk/libavcodec/flacdec.c
==============================================================================
--- trunk/libavcodec/flacdec.c	Wed Sep 16 22:44:26 2009	(r19890)
+++ trunk/libavcodec/flacdec.c	Thu Sep 17 00:57:00 2009	(r19891)
@@ -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)"),
 };



More information about the ffmpeg-cvslog mailing list