]> git.tue.mpg.de Git - paraslash.git/commit
wma: Remove pointless/incorrect sanity checks.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 11 Jun 2017 13:59:17 +0000 (15:59 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 6 Jul 2017 19:00:36 +0000 (21:00 +0200)
commit9943be4e9a56cedf1d0ec6317ca09da3ccc3949e
tree8760fd2876db2e243e735b820e052c4f2942fa9e
parent8e48e706ab1acc7dff83d5ceb446dccd75d9abdc
wma: Remove pointless/incorrect sanity checks.

In wma_decode_superframe() we check the size of the input buffer twice.
Both checks are redundant because the input queue size of the wmadec
filter node already makes sure we never pass a smaller value. The
second check is in fact wrong, because pwd->ahi.packet_size -
WMA_FRAME_SKIP would be the correct limit to check.
wmadec_filter.c