projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4bf045
)
aacdec: Remove pointless check and improve comment.
author
Andre Noll
<maan@systemlinux.org>
Thu, 17 Apr 2014 23:38:19 +0000
(23:38 +0000)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Sat, 25 Mar 2017 10:54:36 +0000
(11:54 +0100)
"consumed" is always less than "len" here because of the check a few
lines earlier.
aacdec_filter.c
patch
|
blob
|
history
diff --git
a/aacdec_filter.c
b/aacdec_filter.c
index 25e3c7ec614316745a4bfc711ca5f854162cdcd7..92219a1bcf994dc6233be4ee51beaf1439b99664 100644
(file)
--- a/
aacdec_filter.c
+++ b/
aacdec_filter.c
@@
-144,8
+144,7
@@
next_buffer:
"%zu, %zu, %lu\n",
padd->consumed_total, consumed,
padd->frame_info.bytesconsumed);
- if (consumed < len)
- consumed++; /* catch 21 */
+ consumed++; /* just eat one byte and hope for the best */
goto success;
}
padd->error_count = 0;