summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-10-26 16:01:56 +0000
committerjstebbins <[email protected]>2011-10-26 16:01:56 +0000
commitaf35427d0c2b53fda08e2857256ffa0e99db1aa7 (patch)
tree1847872a3f37e633ed924ec9b65f37dce2acd3fb /test
parent2c338c33c23dedd81369f4c8c2bb89f97a18c03f (diff)
CLI: fix bitrate parameter parsing
When fewer bitrates than tracks were specified and only one bitrate is specified, we didn't apply the bitrate to all tracks properly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4321 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r--test/test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c
index 3d217a9a7..56f172d20 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1880,8 +1880,6 @@ static int HandleEvents( hb_handle_t * h )
if( audio != NULL )
{
audio->out.bitrate = abitrate;
- if( (++i) >= num_audio_tracks )
- break; /* We have more inputs than audio tracks, oops */
}
else
{