summaryrefslogtreecommitdiff
path: root/libavcodec/flacenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-06-18 21:53:54 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-06-19 03:54:15 +0200
commit7ba262527fa87b3e6556b905a1b3cb0ad6ac2043 (patch)
tree124fa868cfee197dec973b5b06d7595eb92877b2 /libavcodec/flacenc.c
parent34dc7aa82b3dcd95048b89a59730fbadf3ab3175 (diff)
downloadffmpeg-7ba262527fa87b3e6556b905a1b3cb0ad6ac2043.tar.gz
flacenc: mark as lossless codec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r--libavcodec/flacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index b8d0e10631..a80f0f9fe3 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -1387,7 +1387,7 @@ AVCodec ff_flac_encoder = {
flac_encode_frame,
flac_encode_close,
NULL,
- .capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
+ .capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY | CODEC_CAP_LOSSLESS,
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
.priv_class = &flac_encoder_class,