diff options
Diffstat (limited to 'libavcodec/aacenc_tns.c')
-rw-r--r-- | libavcodec/aacenc_tns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc_tns.c b/libavcodec/aacenc_tns.c index e948b32ba8..5e02c4fb44 100644 --- a/libavcodec/aacenc_tns.c +++ b/libavcodec/aacenc_tns.c @@ -205,7 +205,7 @@ void ff_aac_search_for_tns(AACEncContext *s, SingleChannelElement *sce) if (sfb_len <= 0 || coef_len <= 0) continue; - if (coef_start + coef_len > 1024) + if (coef_start + coef_len >= 1024) coef_len = 1024 - coef_start; /* LPC */ |