diff --git a/core/AmAudio.cpp b/core/AmAudio.cpp index b838497e..5e9f34f8 100644 --- a/core/AmAudio.cpp +++ b/core/AmAudio.cpp @@ -323,7 +323,7 @@ int AmAudio::put(unsigned int user_ts, unsigned char* buffer, unsigned int size) memcpy((unsigned char*)samples,buffer,size); - unsigned int s = encode(size); + int s = encode(size); if(s>0){ //DBG("%s\n",typeid(this).name()); incRecordTime(bytes2samples(size));