OSDN Git Service

Clean up subtitles at end of encode if not consumed and free fifo.
authoreddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 5 May 2009 21:41:15 +0000 (21:41 +0000)
committereddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 5 May 2009 21:41:15 +0000 (21:41 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@2387 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/work.c

index 6159caf..0f7c131 100644 (file)
@@ -861,6 +861,7 @@ cleanup:
         {
             hb_fifo_close( &subtitle->fifo_in );
             hb_fifo_close( &subtitle->fifo_raw );
+            hb_fifo_close( &subtitle->fifo_out );
         }
     }
     for( i = 0; i < hb_list_count( title->list_audio ); i++ )