summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-11-25 02:21:03 +0000
committerjstebbins <[email protected]>2009-11-25 02:21:03 +0000
commit5bf42a402c9aa2d0f4ef49759665120731cb1202 (patch)
tree2e540442cb32edec34cd1f4329bb4d85c40ea8cc /libhb
parent5f75cd8ec876da15e1ca61b8b0e4386289fc0f85 (diff)
don't read the entire file looking for audio in transport streams
if the PMT indicates there is no audio we do not need to continue searching. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2972 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 538353e52..ff593b2c7 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -2049,7 +2049,7 @@ static void hb_ts_stream_find_pids(hb_stream_t *stream)
}
}
// Keep going until we have a complete set of PIDs
- if ((stream->ts_number_video_pids > 0) && (stream->ts_number_audio_pids > 0))
+ if (stream->ts_number_video_pids > 0)
break;
}