h264: increase reference poc list from 16 to 32.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 13 Mar 2012 22:21:07 +0000 (15:21 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 14 Mar 2012 20:24:45 +0000 (13:24 -0700)
commit48cbe4b092113eae0b3e5d6a08b59027f913a884
treec152863993cca353ed44d92a8615bf4705dfef87
parent86020073dbb9a3a9d1fbb76345b2ca29ba1f13d2
h264: increase reference poc list from 16 to 32.

Interlaced images can have 32 references (16 per field), so limiting the
array size to 16 leads to invalid writes.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/mpegvideo.h