forked from len0rd/rockbox
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
This commit is contained in:
parent
4c60bc9e68
commit
144d1b1e81
4 changed files with 15 additions and 18 deletions
|
@ -91,15 +91,15 @@ static bool flac_init(FLACContext* fc, int first_frame_offset)
|
|||
nseekpoints=0;
|
||||
|
||||
fc->sample_skip = 0;
|
||||
|
||||
|
||||
/* Reset sample buffers */
|
||||
memset(decoded0, 0, sizeof(decoded0));
|
||||
memset(decoded1, 0, sizeof(decoded1));
|
||||
memset(decoded2, 0, sizeof(decoded2));
|
||||
memset(decoded3, 0, sizeof(decoded3));
|
||||
memset(decoded4, 0, sizeof(decoded4));
|
||||
memset(decoded5, 0, sizeof(decoded5));
|
||||
|
||||
ci->memset(decoded0, 0, sizeof(decoded0));
|
||||
ci->memset(decoded1, 0, sizeof(decoded1));
|
||||
ci->memset(decoded2, 0, sizeof(decoded2));
|
||||
ci->memset(decoded3, 0, sizeof(decoded3));
|
||||
ci->memset(decoded4, 0, sizeof(decoded4));
|
||||
ci->memset(decoded5, 0, sizeof(decoded5));
|
||||
|
||||
/* Set sample buffers in decoder structure */
|
||||
fc->decoded[0] = decoded0;
|
||||
fc->decoded[1] = decoded1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue