avcodec/h264_refs: Fix long_idx check
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Dec 2015 20:59:42 +0000 (21:59 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Dec 2015 21:17:54 +0000 (22:17 +0100)
commitb92b4775a0d07cacfdd2b4be6511f3cb362c977b
tree074fa5e03a5e72d276f05990d49321eb70aa14bc
parentb32a42295ad7b254f9662082d799c0aae2071c2e
avcodec/h264_refs: Fix long_idx check

Fixes out of array read
Fixes mozilla bug 1233606

Found-by: Tyson Smith
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_refs.c