Browse Source

add sfdata initialisation for ifd field

richarddobson 2 years ago
parent
commit
3d5115628e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dev/externals/paprogs/pvplay/pvplay.cpp

+ 1 - 0
dev/externals/paprogs/pvplay/pvplay.cpp

@@ -421,6 +421,7 @@ int main(int argc,char **argv)
     sfdata.outbuf_l = NULL;
     sfdata.outbuf_l = NULL;
     sfdata.outbuf_r = NULL;
     sfdata.outbuf_r = NULL;
     sfdata.pvfile = -1;
     sfdata.pvfile = -1;
+    sfdata.ifd = -1;
     
     
     printf("PvPlay: play multi-channel PCM and analysis files (.ana, .pvx). V7.0.0 RWD,CDP 2014\n");
     printf("PvPlay: play multi-channel PCM and analysis files (.ana, .pvx). V7.0.0 RWD,CDP 2014\n");
     file_playing = 0;
     file_playing = 0;