File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,15 +180,15 @@ impl CcxDecodersXdsContext<'_> {
180180 for i in 0 ..NUM_XDS_BUFFERS {
181181 if self . xds_buffers [ i] . in_use != 0
182182 && self . xds_buffers [ i]
183- . xds_class
184- . map ( |c| c. to_c_int ( ) )
185- . unwrap_or ( -1 )
186- == xds_class
183+ . xds_class
184+ . map ( |c| c. to_c_int ( ) )
185+ . unwrap_or ( -1 )
186+ == xds_class
187187 && self . xds_buffers [ i]
188- . xds_type
189- . map ( |t| t. to_c_int ( ) )
190- . unwrap_or ( -1 )
191- == lo as i32
188+ . xds_type
189+ . map ( |t| t. to_c_int ( ) )
190+ . unwrap_or ( -1 )
191+ == lo as i32
192192 {
193193 matching_buf = i as i32 ;
194194 break ;
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ pub mod types;
1717
1818use crate :: bindings:: * ;
1919use crate :: ctorust:: FromCType ;
20- use crate :: libccxr_exports:: time:: generate_timing_context;
2120use crate :: libccxr_exports:: time:: apply_timing_info;
21+ use crate :: libccxr_exports:: time:: generate_timing_context;
2222use crate :: xds:: handlers:: { do_end_of_xds, TS_START_OF_XDS } ;
2323use crate :: xds:: types:: { copy_xds_context_from_rust_to_c, CcxDecodersXdsContext } ;
2424use std:: os:: raw:: c_int;
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ use crate::ctorust::FromCType;
4141use crate :: libccxr_exports:: time:: write_back_to_common_timing_ctx;
4242use lib_ccxr:: time:: TimingContext ;
4343use std:: os:: raw:: c_int;
44- use std:: ptr:: null_mut;
4544
4645pub const NUM_BYTES_PER_PACKET : usize = 35 ; // Class + type (repeated for convenience) + data + zero
4746pub const NUM_XDS_BUFFERS : usize = 9 ; // CEA recommends no more than one level of interleaving. Play it safe
You can’t perform that action at this time.
0 commit comments