diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-12-30 06:53:48 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-01-01 18:25:25 +0100 |
commit | 80b8dc30dc96190b6f9c3ab1d9263490232b328b (patch) | |
tree | f0562e34a4c9ef96bdf543f489b5b5af6d8249ce /libavcodec/tiff.c | |
parent | e28814e0e16c1de16789065124052a1201a5cf61 (diff) | |
download | ffmpeg-80b8dc30dc96190b6f9c3ab1d9263490232b328b.tar.gz |
lavc/ass_split: check for NULL pointer in ff_ass_split_override_codes().
This is consistent with the other ff_ass_split_* functions.
It also fixes a crash when trying to split a dialog with text=NULL
(which seems to happen when the text of the dialog is empty); basically,
this commit fixes crashes when trying to encode an empty text subtitle
dialog (see subrip and mov_text encoders).
Fixes Ticket2048.
(cherry picked from commit c83002a4f8042ccfa0688a9a18e8fa0369c1fda8)
Diffstat (limited to 'libavcodec/tiff.c')
0 files changed, 0 insertions, 0 deletions