codec/svcdsub: fix potential null-dereference
commit4c23a7d0998d4a353078b520a4903385f996c54a
authorFilip Roséen <filip@atch.se>
Wed, 1 Mar 2017 08:52:10 +0000 (1 09:52 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 1 Mar 2017 16:42:27 +0000 (1 17:42 +0100)
treec54e388ed46f32eb7b2026fce7c7f4d3bbf52068
parent9b4cfefb98a022601567742441665e791d8f0e6b
codec/svcdsub: fix potential null-dereference

if block_ChainGather fails we would try to dereference a null-pointer,
these changes instead make sure that we discard the data in order to
advance forward.

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