hevc: check slice address length
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 10 Jul 2015 17:41:43 +0000 (19:41 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 12 Jul 2015 16:15:39 +0000 (18:15 +0200)
commit9f4c7397a296e6d11b3c6c121a6896163577dc7c
treecba094ed7d04ac745f7392b1a37ed74b90c5dfb4
parenta9a2f3613040c4f90bf15cbd76f8671252ecc043
hevc: check slice address length

It is used as get_bits argument and reading 0 bits doesn't make sense.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/hevc.c