projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509881d
)
mp3dec: Fix EOF condition.
author
Andre Noll
<maan@systemlinux.org>
Thu, 31 Dec 2009 03:34:50 +0000
(
04:34
+0100)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 31 Dec 2009 03:34:50 +0000
(
04:34
+0100)
mp3dec_filter.c
patch
|
blob
|
history
diff --git
a/mp3dec_filter.c
b/mp3dec_filter.c
index d95758e4238ef77989e969cc5ff210d0d6dd5504..9eed6393c53f58b9bd8fa7e295a14553b7b4f6af 100644
(file)
--- a/
mp3dec_filter.c
+++ b/
mp3dec_filter.c
@@
-216,7
+216,7
@@
static void mp3dec_post_select(__a_unused struct sched *s, struct task *t)
return;
if (need_bad_data_delay(pmd, len))
return;
- if (
pmd->input_len_barrier != 0
&& btr_no_parent(btrn)) {
+ if (
len <= pmd->input_len_barrier
&& btr_no_parent(btrn)) {
ret = -E_MP3DEC_EOF;
goto err;
}