libavcodec/aacsbr.c:534: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32.

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

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

libavcodec/aacsbr.c:534:9: Binary operation: ([0, +oo] - 1):unsigned32
532.     } while (sb != sbr->kx[1] + sbr->m[1]);
533. 
534.     if (sbr->patch_num_subbands[sbr->num_patches-1] < 3 && sbr->num_patches > 1)
             ^
535.         sbr->num_patches--;
536. 
