From 144d1b1e817f1470e3048a4c56b584a38d5e754b Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 8 Jul 2021 21:08:16 -0400 Subject: 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 --- lib/rbcodec/codecs/libspeex/modes_wb.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'lib/rbcodec/codecs/libspeex/modes_wb.c') diff --git a/lib/rbcodec/codecs/libspeex/modes_wb.c b/lib/rbcodec/codecs/libspeex/modes_wb.c index 4055a2b074..5438551c1b 100644 --- a/lib/rbcodec/codecs/libspeex/modes_wb.c +++ b/lib/rbcodec/codecs/libspeex/modes_wb.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002-2007 Jean-Marc Valin +/* Copyright (C) 2002-2007 Jean-Marc Valin File: modes.c Describes the wideband modes of the codec @@ -6,18 +6,18 @@ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - + - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - + - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - + - Neither the name of the Xiph.org Foundation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -371,6 +371,3 @@ const SpeexMode * speex_lib_get_mode (int mode) return speex_mode_list[mode]; } - - - -- cgit v1.2.3