diff options
author | Naresh Tanniru <ntanniru@codeaurora.org> | 2014-06-04 18:23:00 +0530 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-12-07 21:58:13 -0800 |
commit | 7aafdef5659802f01c4036f778687a1f84d40267 (patch) | |
tree | 7f81c097d66f03fa31585e6efb3bd7a1f60be0d5 /compress.c | |
parent | 3c9df82b91a86d58ba11be90d6fb555438a6209e (diff) | |
download | android_external_tinycompress-7aafdef5659802f01c4036f778687a1f84d40267.tar.gz android_external_tinycompress-7aafdef5659802f01c4036f778687a1f84d40267.tar.bz2 android_external_tinycompress-7aafdef5659802f01c4036f778687a1f84d40267.zip |
audio: compress error propagation
- On compress error, error type is not
propagating from compress driver
- Modify oops API to return error no
Change-Id: I51031e96f1fa8838b51fffda64730a05c708cf4e
Diffstat (limited to 'compress.c')
-rw-r--r-- | compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ static int oops(struct compress *compress, int e, const char *fmt, ...) ": %s", strerror(e)); errno = e; - return -1; + return -errno; } const char *compress_get_error(struct compress *compress) |