hevc_ps: verify P/T/L information
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Sat, 9 Aug 2014 18:11:20 +0000 (20:11 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2014 16:05:33 +0000 (18:05 +0200)
commit0d0d24af0159ff08f396ad04cd63ce5655b1fc60
treedcb1699ffb9d0e35cbfc9a1202a8544748cf1703
parent07262c719945bf417e5b2e9057de2bf4c84de075
hevc_ps: verify P/T/L information

This makes the SPS parsing a little, but barely, safer.

Reviewed-by: Mickaƫl Raulet <mraulet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc_ps.c