Line 0
Link Here
|
|
|
1 |
--- libavcodec/libfaac.c.orig 2015-03-12 00:05:24 UTC |
2 |
+++ libavcodec/libfaac.c |
3 |
@@ -84,7 +84,9 @@ static av_cold int Faac_encode_init(AVCo |
4 |
} |
5 |
faac_cfg->mpegVersion = MPEG4; |
6 |
faac_cfg->useTns = 0; |
7 |
- faac_cfg->allowMidside = 1; |
8 |
+ //Do not set allowMidside for API compatibility with faac, |
9 |
+ //see https://github.com/knik0/faac/issues/8 for details |
10 |
+ //faac_cfg->allowMidside = 1; |
11 |
faac_cfg->bitRate = avctx->bit_rate / avctx->channels; |
12 |
faac_cfg->bandWidth = avctx->cutoff; |
13 |
if(avctx->flags & CODEC_FLAG_QSCALE) { |