summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-03-07 16:24:06 +0000
committerjstebbins <[email protected]>2010-03-07 16:24:06 +0000
commitf4c01687fcb4b1cf8ad88ed2a4d0f974a6451a4d (patch)
tree3bacbaa9e5676ee109b64c3a1a302b78aa119fd7 /libhb/work.c
parent2f2414602d28f12eb0b7553c0ca18ba145e1bd76 (diff)
fix a crash that happens when subtitle scan selects a subtitle that
is alread in the list of subtitles to encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3154 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 5a660bcee..ac672f5f6 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -754,6 +754,7 @@ static void do_job( hb_job_t * job, int cpu_count )
*subtitle = *(interjob->select_subtitle);
free( interjob->select_subtitle );
interjob->select_subtitle = NULL;
+ break;
}
}
}