summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/mod.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-07-08 21:08:16 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-07-15 18:37:42 +0000
commit144d1b1e817f1470e3048a4c56b584a38d5e754b (patch)
treeb0fffd71bc62f41148d59b8fdb3e04a0920108b7 /lib/rbcodec/codecs/mod.c
parent4c60bc9e681865fcfc149775a1ed7ccd2613d5bf (diff)
downloadrockbox-144d1b1e817f1470e3048a4c56b584a38d5e754b.tar.gz
rockbox-144d1b1e817f1470e3048a4c56b584a38d5e754b.zip
misc: Fix up a few warnings uncovered by LTO
* direct use of memcpy() instead of ci->memcpy() in flac and mod * uninitialized variable in mpegplayer Change-Id: I2d08682d5f66c319780e69e3ff63d600c61d8f5a
Diffstat (limited to 'lib/rbcodec/codecs/mod.c')
-rw-r--r--lib/rbcodec/codecs/mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/mod.c b/lib/rbcodec/codecs/mod.c
index d0d7e1d996..ef1db5dea9 100644
--- a/lib/rbcodec/codecs/mod.c
+++ b/lib/rbcodec/codecs/mod.c
@@ -424,7 +424,7 @@ void initmodplayer(void)
424 /* Set Default Panning */ 424 /* Set Default Panning */
425 mixer_setpanning(c, panningvalues[c]); 425 mixer_setpanning(c, panningvalues[c]);
426 /* Reset channels in the MOD Player */ 426 /* Reset channels in the MOD Player */
427 memset(&modplayer.modchannel[c], 0, sizeof(struct s_modchannel)); 427 ci->memset(&modplayer.modchannel[c], 0, sizeof(struct s_modchannel));
428 /* Don't play anything */ 428 /* Don't play anything */
429 mixer.channel[c].channelactive = false; 429 mixer.channel[c].channelactive = false;
430 } 430 }