[FFmpeg-cvslog] flacenc: mark as lossless codec

Michael Niedermayer git at videolan.org
Sun Jun 19 03:58:24 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jun 18 21:53:54 2011 +0200| [7ba262527fa87b3e6556b905a1b3cb0ad6ac2043] | committer: Michael Niedermayer

flacenc: mark as lossless codec

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ba262527fa87b3e6556b905a1b3cb0ad6ac2043
---

 libavcodec/flacenc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index b8d0e10..a80f0f9 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,



More information about the ffmpeg-cvslog mailing list