OSDN Git Service

fix a crash that happens when subtitle scan selects a subtitle that
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 7 Mar 2010 16:24:06 +0000 (16:24 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 7 Mar 2010 16:24:06 +0000 (16:24 +0000)
is alread in the list of subtitles to encode.

git-svn-id: svn://localhost/HandBrake/trunk@3154 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/work.c

index 5a660bc..ac672f5 100644 (file)
@@ -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;
                 }
             }
         }