projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
command_util: Generate properly documented command header files.
[paraslash.git]
/
aacdec_filter.c
diff --git
a/aacdec_filter.c
b/aacdec_filter.c
index 8eddc0e71566d7c9cb816a5d52d70e5d35bb5b84..1ceca1fcba2bb4648fb0f4e4c9acfa113fd464e8 100644
(file)
--- a/
aacdec_filter.c
+++ b/
aacdec_filter.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2006-200
8
Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-200
9
Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
@@
-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 (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) {
return 0;
if (!padd->initialized) {