Browse Source

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
tags/v0.6
Justin Ruggles 15 years ago
parent
commit
78a9a77eac
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavcodec/flacdec.c

+ 3
- 1
libavcodec/flacdec.c View File

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

Loading…
Cancel
Save