mkv: use a destructor to release all the resources allocated in an mkv_track_t
authorSteve Lhomme <robUx4@videolabs.io>
Mon, 31 Jul 2017 13:02:58 +0000 (15:02 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 31 Jul 2017 13:16:55 +0000 (15:16 +0200)
commitff3bebc15a72ca3317913f1e803103e4d5b52bff
tree26c3f7227fbe556036ecf6b1bf3bb417cd28ccb2
parent25bb1708a91d5b6cacba60f7d68837533b3996e6
mkv: use a destructor to release all the resources allocated in an mkv_track_t

This way we can't forget any when releasing it from various places.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/mkv/matroska_segment.cpp
modules/demux/mkv/matroska_segment_parse.cpp
modules/demux/mkv/mkv.cpp
modules/demux/mkv/mkv.hpp