| Index: third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/aac.c
|
| ===================================================================
|
| --- third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/aac.c (revision 29964)
|
| +++ third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/aac.c (working copy)
|
| @@ -641,7 +641,7 @@
|
| while ((sect_len_incr = get_bits(gb, bits)) == (1 << bits)-1)
|
| sect_len += sect_len_incr;
|
| sect_len += sect_len_incr;
|
| - if (sect_len > ics->max_sfb || sect_len == 0) {
|
| + if (sect_len > ics->max_sfb || sect_len == k) {
|
| av_log(ac->avccontext, AV_LOG_ERROR,
|
| "Number of bands (%d) is invalid, limit (%d).\n",
|
| sect_len, ics->max_sfb);
|
|
|