Commit d413771
committed
audio: mux: Fix use of incorrect macro
comp_buffer_get_sink_component(b) inside a for_each_producer loop
returns mux itself, making the pipeline comparison always false and
audio_stream_set_overrun() unreachable.
Issue found using semgrep with custom rules.
Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>1 parent accf902 commit d413771
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
0 commit comments