avcodec/hevc_ps: Explicitly check num_tile_* for negative values
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 13 May 2015 11:53:33 +0000 (13:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 21 May 2015 18:43:38 +0000 (20:43 +0200)
commit2cab5f4ad05098c007b0468d80ede59b8360dfa8
tree687086ce73a5ac047f2dd466abdf3edaff16126f
parent1ed8a10487db9e03221f69d68722e3a210bad19b
avcodec/hevc_ps: Explicitly check num_tile_* for negative values

This fixes nothing but maybe helps coverity which does not see that this is failing later

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 65e5032955cb5022f0f39160aa3839f0799456bd)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc_ps.c