summaryrefslogtreecommitdiffstats
path: root/libhb/reader.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2009-05-06 22:58:21 +0000
committereddyg <[email protected]>2009-05-06 22:58:21 +0000
commite797f1b5f0a4c0388fac3dadaab836a84c7cfe77 (patch)
treed104c243bae5f9b71a48d875d30791967c1cacf0 /libhb/reader.c
parent608dfc094e62c0734cc22ffdcda73c3f60391924 (diff)
Removed double EOF for CC's (one from dvd and one from cc), fixed compiler warnings for CC.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2394 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/reader.c')
-rw-r--r--libhb/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/reader.c b/libhb/reader.c
index f7470bfa2..dd478151b 100644
--- a/libhb/reader.c
+++ b/libhb/reader.c
@@ -460,7 +460,7 @@ static void ReaderFunc( void * _r )
hb_subtitle_t *subtitle;
for( n = 0; ( subtitle = hb_list_item( r->job->title->list_subtitle, n ) ); ++n )
{
- if ( subtitle->fifo_in )
+ if ( subtitle->fifo_in && subtitle->source == VOBSUB)
push_buf( r, subtitle->fifo_in, hb_buffer_init(0) );
}