flacenc: mark as lossless codec
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Jun 2011 19:53:54 +0000 (21:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Jun 2011 01:54:15 +0000 (03:54 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/flacenc.c

index b8d0e10..a80f0f9 100644 (file)
@@ -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,