Skip to content

lib: media_player: handle negative return of snprintf

Marvin Scholz requested to merge ePirat/vlc:epirat-fix-snprintf-handling into master

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