hevc: Validate the number of long term reference pictures
authorMark Thompson <sw@jkqxz.net>
Fri, 23 Jun 2017 23:29:14 +0000 (00:29 +0100)
committerMark Thompson <sw@jkqxz.net>
Sat, 5 Aug 2017 22:54:35 +0000 (23:54 +0100)
commit1329c08ad6d2ddb304858f2972c67b508e8b0f0e
tree8c1722431d98dd4c356514c46e99238837c9405a
parentb88da98b34809dedf8882d43ed543632ed233538
hevc: Validate the number of long term reference pictures

This would overflow if the stream contained a value greater than the
maximum allowed by the standard (32).
libavcodec/hevc_ps.c