libavcodec/ps.c:825: error: Buffer Overrun L1
  Offset: [33, `ps->num_env` + 32] (⇐ [0, `ps->num_env` - 1] + 33) Size: 5 by call to `remap34`.

libavcodec/ps.c:794:1: Parameter `ps->num_env`
792. }
793. 
794. static void stereo_processing(PSContext *ps, float (*l)[32][2], float (*r)[32][2], int is34)
     ^
795. {
796.     int e, b, k, n;

libavcodec/ps.c:825:9: Call
823.     memcpy(H22[1][0], H22[1][ps->num_env_old], PS_MAX_NR_IIDICC*sizeof(H22[1][0][0]));
824.     if (is34) {
825.         remap34(&iid_mapped, ps->iid_par, ps->nr_iid_par, ps->num_env, 1);
             ^
826.         remap34(&icc_mapped, ps->icc_par, ps->nr_icc_par, ps->num_env, 1);
827.         if (ps->enable_ipdopd) {

libavcodec/ps.c:756:1: Parameter `num_env`
  754. }
  755. 
  756. static void remap34(int8_t (**p_par_mapped)[PS_MAX_NR_IIDICC],
       ^
  757.                     int8_t           (*par)[PS_MAX_NR_IIDICC],
  758.                     int num_par, int num_env, int full)

libavcodec/ps.c:764:13: Call
  762.     if (num_par == 20 || num_par == 11) {
  763.         for (e = 0; e < num_env; e++) {
  764.             map_idx_20_to_34(par_mapped[e], par[e], full);
                   ^
  765.         }
  766.     } else if (num_par == 10 || num_par == 5) {

libavcodec/ps.c:567:1: <Length trace>
565. }
566. 
567. static void map_idx_20_to_34(int8_t *par_mapped, const int8_t *par, int full)
     ^
568. {
569.     if (full) {

libavcodec/ps.c:567:1: Parameter `*par_mapped`
    565. }
    566. 
    567. static void map_idx_20_to_34(int8_t *par_mapped, const int8_t *par, int full)
         ^
    568. {
    569.     if (full) {

libavcodec/ps.c:570:9: Array access: Offset: [33, ps->num_env + 32] (⇐ [0, ps->num_env - 1] + 33) Size: 5 by call to `remap34` 
    568. {
    569.     if (full) {
    570.         par_mapped[33] =  par[19];
                 ^
    571.         par_mapped[32] =  par[19];
    572.         par_mapped[31] =  par[18];
