libavcodec/atrac3plus.c:658: error: Buffer Overrun L3
  Offset added: 128 Size: [0, +oo].

libavcodec/atrac3plus.c:649:1: <Length trace>
647.  * @return result code: 0 = OK, otherwise - error code
648.  */
649. static int decode_scale_factors(GetBitContext *gb, Atrac3pChanUnitCtx *ctx,
     ^
650.                                 int num_channels, AVCodecContext *avctx)
651. {

libavcodec/atrac3plus.c:649:1: Parameter `ctx->channels[*].qu_sf_idx[*]`
647.  * @return result code: 0 = OK, otherwise - error code
648.  */
649. static int decode_scale_factors(GetBitContext *gb, Atrac3pChanUnitCtx *ctx,
     ^
650.                                 int num_channels, AVCodecContext *avctx)
651. {

libavcodec/atrac3plus.c:658:9: Array access: Offset added: 128 Size: [0, +oo]
656. 
657.     for (ch_num = 0; ch_num < num_channels; ch_num++) {
658.         memset(ctx->channels[ch_num].qu_sf_idx, 0,
             ^
659.                sizeof(ctx->channels[ch_num].qu_sf_idx));
660. 

static int decode_scale_factors(GetBitContext *gb, Atrac3pChanUnitCtx *ctx,
                                int num_channels, AVCodecContext *avctx)
{
    int ch_num, ret;
    if (!ctx->used_quant_units)
        return 0;
    for (ch_num = 0; ch_num < num_channels; ch_num++) {
        memset(ctx->channels[ch_num].qu_sf_idx, 0,
               sizeof(ctx->channels[ch_num].qu_sf_idx));
        if ((ret = decode_channel_sf_idx(gb, ctx, ch_num, avctx)) < 0)
            return ret;
    }
    return 0;
}
['static int decode_scale_factors(GetBitContext *gb, Atrac3pChanUnitCtx *ctx,\n                                int num_channels, AVCodecContext *avctx)\n{\n    int ch_num, ret;\n    if (!ctx->used_quant_units)\n        return 0;\n    for (ch_num = 0; ch_num < num_channels; ch_num++) {\n        memset(ctx->channels[ch_num].qu_sf_idx, 0,\n               sizeof(ctx->channels[ch_num].qu_sf_idx));\n        if ((ret = decode_channel_sf_idx(gb, ctx, ch_num, avctx)) < 0)\n            return ret;\n    }\n    return 0;\n}']