memset(interjob, 0, sizeof(*interjob));
interjob->sequence_id = job->sequence_id;
}
- else if (job->pass_id == HB_PASS_ENCODE_2ND)
- {
- correct_framerate(interjob, job);
- }
job->list_work = hb_list_init();
w = hb_get_work(job->h, WORK_READER);
job->cfr = 0;
}
+ if (job->pass_id == HB_PASS_ENCODE_2ND)
+ {
+ correct_framerate(interjob, job);
+ }
+
/*
* The frame rate may affect the bitstream's time base, lose superfluous
* factors for consistency (some encoders reduce fractions, some don't).