libavcodec/g723_1.c:948: error: Buffer Overrun L2
  Offset: [1, 10] (⇐ 1 + [0, 9]) Size: 2 by call to `iir_filter`.

libavcodec/g723_1.c:932:1: Array declaration
930.  * @param buf output buffer
931.  */
932. static void formant_postfilter(G723_1_Context *p, int16_t *lpc, int16_t *buf)
     ^
933. {
934.     int16_t filter_coef[2][LPC_ORDER], *buf_ptr;

libavcodec/g723_1.c:948:9: Call
946.                                  (1 << 14)) >> 15;
947.         }
948.         iir_filter(filter_coef[0], filter_coef[1], buf + i,
             ^
949.                    filter_signal + i);
950.         lpc += LPC_ORDER;

libavcodec/g723_1.c:874:14: <Offset trace>
872.     for (m = 0; m < SUBFRAME_LEN; m++) {
873.         int64_t filter = 0;
874.         for (n = 1; n <= LPC_ORDER; n++) {
                  ^
875.             filter -= fir_coef[n - 1] * src[m - n] -
876.                       iir_coef[n - 1] * (dest[m - n] >> 16);

libavcodec/g723_1.c:874:14: Assignment
  872.     for (m = 0; m < SUBFRAME_LEN; m++) {
  873.         int64_t filter = 0;
  874.         for (n = 1; n <= LPC_ORDER; n++) {
                    ^
  875.             filter -= fir_coef[n - 1] * src[m - n] -
  876.                       iir_coef[n - 1] * (dest[m - n] >> 16);

libavcodec/g723_1.c:867:1: <Length trace>
865.  * @param dest     destination vector
866.  */
867. static inline void iir_filter(int16_t *fir_coef, int16_t *iir_coef,
     ^
868.                               int16_t *src, int *dest)
869. {

libavcodec/g723_1.c:867:1: Parameter `*iir_coef`
  865.  * @param dest     destination vector
  866.  */
  867. static inline void iir_filter(int16_t *fir_coef, int16_t *iir_coef,
       ^
  868.                               int16_t *src, int *dest)
  869. {

libavcodec/g723_1.c:876:23: Array access: Offset: [1, 10] (⇐ 1 + [0, 9]) Size: 2 by call to `iir_filter` 
  874.         for (n = 1; n <= LPC_ORDER; n++) {
  875.             filter -= fir_coef[n - 1] * src[m - n] -
  876.                       iir_coef[n - 1] * (dest[m - n] >> 16);
                             ^
  877.         }
  878. 

static inline void iir_filter(int16_t *fir_coef, int16_t *iir_coef,
                              int16_t *src, int *dest)
{
    int m, n;
    for (m = 0; m < SUBFRAME_LEN; m++) {
        int64_t filter = 0;
        for (n = 1; n <= LPC_ORDER; n++) {
            filter -= fir_coef[n - 1] * src[m - n] -
                      iir_coef[n - 1] * (dest[m - n] >> 16);
        }
        dest[m] = av_clipl_int32((src[m] << 16) + (filter << 3) + (1 << 15));
    }
}
['static void formant_postfilter(G723_1_Context *p, int16_t *lpc, int16_t *buf)\n{\n    int16_t filter_coef[2][LPC_ORDER], *buf_ptr;\n    int filter_signal[LPC_ORDER + FRAME_LEN], *signal_ptr;\n    int i, j, k;\n    memcpy(buf, p->fir_mem, LPC_ORDER * sizeof(*buf));\n    memcpy(filter_signal, p->iir_mem, LPC_ORDER * sizeof(*filter_signal));\n    for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) {\n        for (k = 0; k < LPC_ORDER; k++) {\n            filter_coef[0][k] = (-lpc[k] * postfilter_tbl[0][k] +\n                                 (1 << 14)) >> 15;\n            filter_coef[1][k] = (-lpc[k] * postfilter_tbl[1][k] +\n                                 (1 << 14)) >> 15;\n        }\n        iir_filter(filter_coef[0], filter_coef[1], buf + i,\n                   filter_signal + i);\n        lpc += LPC_ORDER;\n    }\n    memcpy(p->fir_mem, buf + FRAME_LEN, LPC_ORDER * sizeof(*p->fir_mem));\n    memcpy(p->iir_mem, filter_signal + FRAME_LEN,\n           LPC_ORDER * sizeof(*p->iir_mem));\n    buf_ptr    = buf + LPC_ORDER;\n    signal_ptr = filter_signal + LPC_ORDER;\n    for (i = 0; i < SUBFRAMES; i++) {\n        int16_t temp_vector[SUBFRAME_LEN];\n        int16_t temp;\n        int auto_corr[2];\n        int scale, energy;\n        memcpy(temp_vector, buf_ptr, SUBFRAME_LEN * sizeof(*temp_vector));\n        scale = scale_vector(temp_vector, SUBFRAME_LEN);\n        auto_corr[0] = dot_product(temp_vector, temp_vector + 1,\n                                   SUBFRAME_LEN - 1, 1);\n        auto_corr[1] = dot_product(temp_vector, temp_vector, SUBFRAME_LEN, 1);\n        temp = auto_corr[1] >> 16;\n        if (temp) {\n            temp = (auto_corr[0] >> 2) / temp;\n        }\n        p->reflection_coef = ((p->reflection_coef << 2) - p->reflection_coef +\n                              temp + 2) >> 2;\n        temp = (p->reflection_coef * 0xffffc >> 3) & 0xfffc;\n        for (j = 0; j < SUBFRAME_LEN; j++) {\n            buf_ptr[j] = av_clipl_int32(signal_ptr[j] +\n                                        ((signal_ptr[j - 1] >> 16) *\n                                         temp << 1)) >> 16;\n        }\n        temp = 2 * scale + 4;\n        if (temp < 0) {\n            energy = av_clipl_int32((int64_t)auto_corr[1] << -temp);\n        } else\n            energy = auto_corr[1] >> temp;\n        gain_scale(p, buf_ptr, energy);\n        buf_ptr    += SUBFRAME_LEN;\n        signal_ptr += SUBFRAME_LEN;\n    }\n}', 'static inline void iir_filter(int16_t *fir_coef, int16_t *iir_coef,\n                              int16_t *src, int *dest)\n{\n    int m, n;\n    for (m = 0; m < SUBFRAME_LEN; m++) {\n        int64_t filter = 0;\n        for (n = 1; n <= LPC_ORDER; n++) {\n            filter -= fir_coef[n - 1] * src[m - n] -\n                      iir_coef[n - 1] * (dest[m - n] >> 16);\n        }\n        dest[m] = av_clipl_int32((src[m] << 16) + (filter << 3) + (1 << 15));\n    }\n}']