libavcodec/aacsbr.c:545: error: Integer Overflow L2
  ([0, 6] - 1):unsigned32.

libavcodec/aacsbr.c:508:5: <LHS trace>
506.     int goal_sb = ((1000 << 11) + (sbr->sample_rate >> 1)) / sbr->sample_rate;
507. 
508.     sbr->num_patches = 0;
         ^
509. 
510.     if (goal_sb < sbr->kx[1] + sbr->m[1]) {

libavcodec/aacsbr.c:508:5: Assignment
506.     int goal_sb = ((1000 << 11) + (sbr->sample_rate >> 1)) / sbr->sample_rate;
507. 
508.     sbr->num_patches = 0;
         ^
509. 
510.     if (goal_sb < sbr->kx[1] + sbr->m[1]) {

libavcodec/aacsbr.c:545:9: Binary operation: ([0, 6] - 1):unsigned32
543.     } while (sb != sbr->kx[1] + sbr->m[1]);
544. 
545.     if (sbr->patch_num_subbands[sbr->num_patches-1] < 3 && sbr->num_patches > 1)
             ^
546.         sbr->num_patches--;
547. 
