From: Andre Noll Date: Sun, 11 Jun 2017 13:59:17 +0000 (+0200) Subject: wma: Remove pointless/incorrect sanity checks. X-Git-Tag: v0.6.1~44^2~5 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=9943be4e9a56cedf1d0ec6317ca09da3ccc3949e;hp=9943be4e9a56cedf1d0ec6317ca09da3ccc3949e 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. ---