Skip to content

lib: media_player: handle negative return of snprintf

As snprintf could return a negative value, this must be handled properly as else it would mess up the buffer calculation, which could result in incorrect bands being set.

Found with lgtm.com

Merge request reports

Loading