avcodec/hevc_ps: do cleanup in case of unsupported bit depth
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 20 Aug 2014 01:38:30 +0000 (03:38 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 20 Aug 2014 13:14:53 +0000 (15:14 +0200)
commit7caacc50aed5e85070aa860f579be87fa4ff5ca5
treedcc1e6db2bbd25f9c84d928c5afc82af75f6afd6
parentcb0524f7a02f910ae2df163e655cb495ea9f2493
avcodec/hevc_ps: do cleanup in case of unsupported bit depth

Fixes memleak
Fixes CID1231989

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