snow: check reference frame indices.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Mar 2012 19:53:00 +0000 (20:53 +0100)
committerReinhard Tartler <siretart@tauware.de>
Wed, 14 Mar 2012 20:35:09 +0000 (21:35 +0100)
commitce15406e78fd213b420dae68c5015803d9716c51
tree6ac73fd8bbae218ddd4d183c1e87eedd7ac05054
parentc9e95636a893225e2a5a42ba6e1e3cf6bfd59f2b
snow: check reference frame indices.

Fixes NULL ptr dereference

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 1f8ff2b13cbfef790385818664ed12e763e7c75b)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/snowdec.c