projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c09999a
)
aacdec: Do not fail on emtpy buffers.
author
Andre Noll
<maan@systemlinux.org>
Sat, 28 Feb 2009 11:45:51 +0000
(12:45 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 28 Feb 2009 11:45:51 +0000
(12:45 +0100)
aacdec_filter.c
patch
|
blob
|
history
diff --git
a/aacdec_filter.c
b/aacdec_filter.c
index d9226b0d8d37e221ef6ac2f15e383a1063389241..1ceca1fcba2bb4648fb0f4e4c9acfa113fd464e8 100644
(file)
--- a/
aacdec_filter.c
+++ b/
aacdec_filter.c
@@
-62,7
+62,10
@@
static ssize_t aacdec(char *input_buffer, size_t len, struct filter_node *fn)
if (fn->loaded > fn->bufsize * 3 / 5)
return 0;
- if (len < 2048 && !*fc->input_error)
+ ret = *fc->input_error;
+ if (ret < 0)
+ return ret;
+ if (len < 2048)
return 0;
if (!padd->initialized) {