[FFmpeg-cvslog] aacenc_tns: temporarily disable
Rostislav Pehlivanov
git at videolan.org
Sun Aug 23 00:51:06 CEST 2015
ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Sat Aug 22 23:49:59 2015 +0100| [f2ba60d4e9cad7a92279387ed0a228660d83ed89] | committer: Rostislav Pehlivanov
aacenc_tns: temporarily disable
Due to segfaults on some platforms, fix will take a bit longer.
Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2ba60d4e9cad7a92279387ed0a228660d83ed89
---
libavcodec/aacenc_tns.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/aacenc_tns.c b/libavcodec/aacenc_tns.c
index 0ac9ba9..8c21255 100644
--- a/libavcodec/aacenc_tns.c
+++ b/libavcodec/aacenc_tns.c
@@ -185,6 +185,9 @@ void ff_aac_search_for_tns(AACEncContext *s, SingleChannelElement *sce)
const float freq_mult = mpeg4audio_sample_rates[s->samplerate_index]/(1024.0f/sce->ics.num_windows)/2.0f;
float max_coef = 0.0f;
+ sce->tns.present = 0;
+ return;
+
for (coef_start = 0; coef_start < 1024; coef_start++)
max_coef = FFMAX(max_coef, sce->pcoeffs[coef_start]);
More information about the ffmpeg-cvslog
mailing list