Permalink
Browse files

o ..

  • Loading branch information...
1 parent a2aa9a4 commit 2c21e9aeb23e4229b83f7028d0be5162e99b3732 @hzeller committed Sep 14, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 Makefile
  2. +1 −0 zita-audiofile.cc
View
@@ -1,6 +1,7 @@
CC=gcc
CXX=g++
CFLAGS=-D_FILE_OFFSET_BITS=64 -Wall -O2
+#CFLAGS=-D_FILE_OFFSET_BITS=64 -Wall -g -O0
CXXFLAGS=$(CFLAGS)
LDFLAGS=-lfuse -lsndfile -lzita-convolver -lmicrohttpd
View
@@ -55,6 +55,7 @@ int Audiofile::open_read (const char *name)
if (_mode) return ERR_MODE;
reset ();
+ memset(&I, 0, sizeof(I)); // shut up valgrind.
if ((_sndfile = sf_open (name, SFM_READ, &I)) == 0) return ERR_OPEN;
_mode = MODE_READ;

0 comments on commit 2c21e9a

Please sign in to comment.