diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-07-08 21:08:16 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-07-15 18:37:42 +0000 |
commit | 144d1b1e817f1470e3048a4c56b584a38d5e754b (patch) | |
tree | b0fffd71bc62f41148d59b8fdb3e04a0920108b7 /apps | |
parent | 4c60bc9e681865fcfc149775a1ed7ccd2613d5bf (diff) | |
download | rockbox-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 'apps')
-rw-r--r-- | apps/plugins/mpegplayer/video_out_rockbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/video_out_rockbox.c b/apps/plugins/mpegplayer/video_out_rockbox.c index ee5c3400c5..331383843b 100644 --- a/apps/plugins/mpegplayer/video_out_rockbox.c +++ b/apps/plugins/mpegplayer/video_out_rockbox.c | |||
@@ -369,7 +369,7 @@ void stretch_image_plane(const uint8_t * src, uint8_t *dst, int stride, | |||
369 | bool vo_draw_frame_thumb(uint8_t * const * buf, const struct vo_rect *rc) | 369 | bool vo_draw_frame_thumb(uint8_t * const * buf, const struct vo_rect *rc) |
370 | { | 370 | { |
371 | void *mem; | 371 | void *mem; |
372 | size_t bufsize; | 372 | size_t bufsize = 0; |
373 | uint8_t *yuv[3]; | 373 | uint8_t *yuv[3]; |
374 | struct vo_rect thumb_rc; | 374 | struct vo_rect thumb_rc; |
375 | int thumb_width, thumb_height; | 375 | int thumb_width, thumb_height; |