[FFmpeg-soc] [soc]: r2443 - alacenc/alacenc.c
jai_menon
subversion at mplayerhq.hu
Sun Jun 15 06:05:30 CEST 2008
Author: jai_menon
Date: Sun Jun 15 06:05:30 2008
New Revision: 2443
Log:
consider compression levels
Modified:
alacenc/alacenc.c
Modified: alacenc/alacenc.c
==============================================================================
--- alacenc/alacenc.c (original)
+++ alacenc/alacenc.c Sun Jun 15 06:05:30 2008
@@ -216,7 +216,10 @@ static av_cold int alac_encode_init(AVCo
}
// Set default compression level
+ if(avctx->compression_level == FF_COMPRESSION_DEFAULT)
s->compression_level = 1;
+ else
+ s->compression_level = av_clip(avctx->compression_level, 0, 1);
// Initialize default Rice parameters
s->rc.history_mult = 40;
More information about the FFmpeg-soc
mailing list