File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1363,7 +1363,7 @@ impl RCState {
1363
1363
}
1364
1364
1365
1365
// Initialize the rate control for second pass encoding
1366
- pub ( crate ) fn twopass_init ( & mut self ) {
1366
+ pub ( crate ) fn init_second_pass ( & mut self ) {
1367
1367
if self . twopass_state == PASS_SINGLE || self . twopass_state == PASS_1 {
1368
1368
// Initialize the second pass.
1369
1369
self . twopass_state += PASS_2 ;
@@ -1606,7 +1606,7 @@ impl RCState {
1606
1606
& mut self , maybe_buf : Option < & [ u8 ] > ,
1607
1607
) -> Result < usize , ( ) > {
1608
1608
let mut consumed = 0 ;
1609
- self . twopass_init ( ) ;
1609
+ self . init_second_pass ( ) ;
1610
1610
// If we haven't got a valid summary header yet, try to parse one.
1611
1611
if self . nframes_total [ FRAME_SUBTYPE_I ] == 0 {
1612
1612
self . pass2_data_ready = false ;
You can’t perform that action at this time.
0 commit comments