shorten: Fix out-of-array read
authorTim Walker <tdskywalker@gmail.com>
Wed, 9 Oct 2013 09:47:04 +0000 (11:47 +0200)
committerTim Walker <tdskywalker@gmail.com>
Mon, 6 Jan 2014 15:36:56 +0000 (16:36 +0100)
commita0866c71293db80f271f11176eae72217d773e9a
treebc75ce7ebe06f2fa272a9c4fbcf8ebe37b9eb8dd
parent65830277d2d2ee3658e1f070a61044fff261ed3e
shorten: Fix out-of-array read

pred_order == FF_ARRAY_ELEMS(fixed_coeffs) is invalid too.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 5f5ada3dbf97e306a74250ba8dcf8619ad59b020)
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
libavcodec/shorten.c