hevc: check slice address length
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 10 Jul 2015 17:41:43 +0000 (19:41 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 10 Jul 2015 19:28:56 +0000 (21:28 +0200)
commit05cc8c8e4b7008ff3be8ec477c901b2ceca4b16b
tree90e824ca662eb56929fd1780d2d5f65a2d08be4d
parent72527d9c54a95454153e971d11f114f2a4f19073
hevc: check slice address length

It is used as get_bits argument and reading 0 bits isn't supported.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/hevc.c
libavcodec/hevc_parser.c