summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-04-06 23:22:30 +0000
committerjstebbins <[email protected]>2010-04-06 23:22:30 +0000
commit67e56b82d2a57fcd218e1a0e816b98f1dc0dc888 (patch)
tree38ffc6772ec47eb7fb33c718121ed57bc2f02d1b /gtk/src
parent2c4457fa5666428c43f1d82acadc6b5095f8fab7 (diff)
LinGui: fix crash when subtitle list has an invalid subtitle
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3203 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/hb-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index dbcb437a9..78fab8cbd 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -4642,9 +4642,9 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex)
hb_subtitle_config_t sub_config;
subt = (hb_subtitle_t *)hb_list_item(title->list_subtitle, subtitle);
- sub_config = subt->config;
if (subt != NULL)
{
+ sub_config = subt->config;
if (!burned && job->mux == HB_MUX_MKV &&
subt->format == PICTURESUB)
{