libavcodec/ps.c:911: 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:878:1: Parameter `ps->num_env`
876. }
877. 
878. static void stereo_processing(PSContext *ps, float (*l)[32][2], float (*r)[32][2], int is34)
     ^
879. {
880.     int e, b, k, n;

libavcodec/ps.c:911:9: Call
909.     }
910.     if (is34) {
911.         remap34(&iid_mapped, ps->iid_par, ps->nr_iid_par, ps->num_env, 1);
             ^
912.         remap34(&icc_mapped, ps->icc_par, ps->nr_icc_par, ps->num_env, 1);
913.         if (ps->enable_ipdopd) {

libavcodec/ps.c:840:1: Parameter `num_env`
  838. }
  839. 
  840. static void remap34(int8_t (**p_par_mapped)[PS_MAX_NR_IIDICC],
       ^
  841.                     int8_t           (*par)[PS_MAX_NR_IIDICC],
  842.                     int num_par, int num_env, int full)

libavcodec/ps.c:848:13: Call
  846.     if (num_par == 20 || num_par == 11) {
  847.         for (e = 0; e < num_env; e++) {
  848.             map_idx_20_to_34(par_mapped[e], par[e], full);
                   ^
  849.         }
  850.     } else if (num_par == 10 || num_par == 5) {

libavcodec/ps.c:651:1: <Length trace>
649. }
650. 
651. static void map_idx_20_to_34(int8_t *par_mapped, const int8_t *par, int full)
     ^
652. {
653.     if (full) {

libavcodec/ps.c:651:1: Parameter `*par_mapped`
    649. }
    650. 
    651. static void map_idx_20_to_34(int8_t *par_mapped, const int8_t *par, int full)
         ^
    652. {
    653.     if (full) {

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