avcodec/hevc_ps: Only discard overread VPS if a previous is available
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 18 Jun 2015 16:03:21 +0000 (18:03 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 19 Jun 2015 08:27:32 +0000 (10:27 +0200)
commit7e5a298bce178f6c1f760b0e4c41d46ccb8583e8
tree2cc08b5fd2d2655cee4b32c5b8bbc1d3446cae04
parentd9dd0cbe632e7b4b0b1652b13112bb805e737522
avcodec/hevc_ps: Only discard overread VPS if a previous is available

Fixes Ticket4621

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 57078e4d255a06246fef27846073f5ffb312b5dc)
libavcodec/hevc_ps.c