summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-20 17:10:20 +0000
committerjstebbins <[email protected]>2009-06-20 17:10:20 +0000
commit2c92194ddde3710dba84abea10aa123b835a8d4f (patch)
tree4d60d00320841f6ae26315dec1ff2f5d5ce80b65 /libhb
parentb8b95b8703a483b7e4266b3f601dc9e1ed2ef663 (diff)
libhb: fix typo that causes 2 pass encodes to segfault at beginning of pass 2
- this only appears after running at least one previous encode job so it got missed in simple one-off testing git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2588 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/work.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 4f2050224..55ce36fc0 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -354,7 +354,7 @@ void correct_framerate( hb_job_t * job )
hb_interjob_t * interjob = hb_interjob_get( job->h );
- if( ( job->sequence_id & 0xFFFFFF ) != ( interjob->last_job && 0xFFFFFF) )
+ if( ( job->sequence_id & 0xFFFFFF ) != ( interjob->last_job & 0xFFFFFF) )
return; // Interjob information is for a different encode.
/* Cache the original framerate before altering it. */