You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
这里“第二种情况”更新stream_frame->next_read_offset,感觉是无效的? 这种情况stream_frame->next_read_offset根本就不需要更新,就以它为起点进行数据的读取即可。
并且,代码中由于 uint64_t offset = stream->stream_data_in.next_read_offset - stream_frame->data_offset,那么offset一定会比stream->stream_data_in.next_read_offset小。那么, stream_frame->next_read_offset 始终等于 xqc_max(stream_frame->next_read_offset, offset),所以这里面的操作没有意义。
Beta Was this translation helpful? Give feedback.
All reactions