fixed interpretation of return value in case of codec encoding does return error

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1074 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 18 years ago
parent 4bab506d78
commit 450ebf0390

@ -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));

Loading…
Cancel
Save