codec/libass: avoid possible segfault
authorAnthony Loiseau <thannoy@actech-innovation.com>
Tue, 28 Jul 2009 14:46:54 +0000 (16:46 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 28 Jul 2009 17:01:55 +0000 (19:01 +0200)
commit29e7fc71082c08aec51d438b3d8564e25526b2d1
tree9ccb50d4e075e54e94fa50b0b34fcb95012dabac
parent6a616fca335a24409c39cabcfea8a45b7e1995f3
codec/libass: avoid possible segfault

dialog_ProgressCreate can return NULL. For this case,
only deal with the result if it is not NULL.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
modules/codec/libass.c