Searched refs:second_pos (Results 1 – 2 of 2) sorted by relevance
93 let mut second_pos = first_pos + 3 + distance_to_first_pos; in split_annexb_and_process() localVariable94 while second_pos > 0 && nalus[second_pos - 1] == 0 { in split_annexb_and_process()95 second_pos -= 1; in split_annexb_and_process()97 nalus.split_to(second_pos) in split_annexb_and_process()146 let mut second_pos = first_pos + 3 + distance_to_first_pos; in test_annexb_split() localVariable148 while second_pos > 0 && nalus[second_pos - 1] == 0 { in test_annexb_split()149 second_pos -= 1; in test_annexb_split()152 nalus.split_to(second_pos) in test_annexb_split()
271 let mut second_pos = first_pos + 3 + distance_to_first_pos; in on_rtsp_video() localVariable272 while second_pos > 0 && nalus[second_pos - 1] == 0 { in on_rtsp_video()273 second_pos -= 1; in on_rtsp_video()275 nalus.split_to(second_pos) in on_rtsp_video()