convert a few more strlcpy to strmemccpy calls Fix Red and Yellow

albumart is imported to plugins just use a macro substitution
for now

Change-Id: I7c2e10d7559c087f0b3d0e6b844027d3b323da55
This commit is contained in:
William Wilgus 2022-11-15 00:29:35 -05:00 committed by William Wilgus
parent aea324b746
commit 687767bd8f
5 changed files with 13 additions and 7 deletions

View file

@ -24,6 +24,7 @@
#include "filetree.h"
#include "wps.h"
#include "playback.h"
#include "string-extra.h"
/*
* This macro is meant to be used inside an IAP mode message handler.
@ -1430,7 +1431,6 @@ void iap_handlepkt_mode4(const unsigned int len, const unsigned char *buf)
unsigned int number_of_playlists = nbr_total_playlists();
uint32_t trackcount;
trackcount = playlist_amount();
size_t len;
if ((buf[3] == 0x05) && ((start_index + read_count ) > trackcount))
{