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
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
VideoLAN code repository instance