mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	More corrections for the ilbc code
These changes are in a file that is not compiled by default, and so were missed on earlier checks. ........ Merged revisions 351860 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 351861 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@351862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -248,7 +248,9 @@ | ||||
|  | ||||
|            /* write byte file */ | ||||
|  | ||||
|            fwrite(encoded_data, sizeof(unsigned char), len, efileid); | ||||
|            if (fwrite(encoded_data, sizeof(unsigned char), len, efileid) != len) { | ||||
|                fprintf(stderr, "Failure in fwritef\n"); | ||||
|            } | ||||
|  | ||||
|            /* get channel data if provided */ | ||||
|            if (argc==6) { | ||||
| @@ -280,7 +282,9 @@ | ||||
|  | ||||
|            /* write output file */ | ||||
|  | ||||
|            fwrite(decoded_data,sizeof(short),len,ofileid); | ||||
|            if (fwrite(decoded_data,sizeof(short),len,ofileid) != len) { | ||||
|                fprintf(stderr, "Failure in fwritef\n"); | ||||
|            } | ||||
|        } | ||||
|  | ||||
|        /* Runtime statistics */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user