demux/pva: Close: properly release allocated block-chain
commit300e7430801d4446ec928402d454abe0e14a0bed
authorFilip Roséen <filip@atch.se>
Fri, 19 May 2017 12:44:30 +0000 (19 14:44 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 19 May 2017 12:56:20 +0000 (19 14:56 +0200)
tree2bf4d361eca763ff904d4160142f5020ddb2f221
parent8bc1f1a5eef44e2f62e2a7a9ca660eaac9e52859
demux/pva: Close: properly release allocated block-chain

p_sys->p_es and p_sys->p_pes are treated as block-chains, and not as
single blocks. As such block_ChainRelease shall be used to release the
full chain, as block_Release will only release the front-most block.

fixes: #17997

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/pva.c