Skip to content

sco-source: simplify mSBC frame parsing

P V requested to merge pvir/pipewire:msbc-frame-simplify-2 into master

Simplify mSBC buffer handling and syncing to frame headers to work on a per-byte basis.

The previous code could terminate with buffer overrun if it encountered multiple consecutive incomplete packets. (It discarded data one packet header at a time, which does not keep the data size under the fixed limit. It seems simpler to use a state machine.)

Merge request reports