1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib/rbcodec/codecs
Amaury Pouly d7871914ac Fix dangerous casts
On Windows 64-bit, the size of long is 32-bit, thus any pointer to long cast is
not valid. In any case, one should use intptr_t and ptrdiff_t when casting
to integers. This commit attempts to fix all instances reported by GCC.
When relevant, I replaced code by the macros PTR_ADD, ALIGN_UP from system.h

Change-Id: I2273b0e8465d3c4689824717ed5afa5ed238a2dc
2017-02-04 17:24:47 +01:00
..
demac Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
lib Fix codecs in simulator builds on Windows 2017-01-15 21:46:19 +01:00
liba52 Fix dangerous casts 2017-02-04 17:24:47 +01:00
libalac Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
libasap Fix codecs in simulator builds on Windows 2017-01-15 21:46:19 +01:00
libasf Fix FS#13009. 2014-11-28 22:30:05 +01:00
libatrac Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
libcook Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
libfaad Limit more variables to file scope 2015-01-11 21:40:51 +01:00
libffmpegFLAC Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
libgme Limit more variables to file scope 2015-01-11 21:40:51 +01:00
libm4a remove extraneous parens 2012-05-06 23:41:37 -04:00
libmad libmad: Use 32bit unsigned for requantize table. 2014-04-15 23:49:07 +02:00
libmusepack Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
libopus libopus: use iram for more constants 2014-07-13 14:19:54 +02:00
libpcm Add support for 16 bit 'half float' format PCM. 2012-11-22 05:18:00 +01:00
librm Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
libspc SPC Codec ARMv5: I didn't have fast gauss quite right. 2013-05-26 00:33:30 -04:00
libspeex Limit more variables to file scope 2015-01-11 21:40:51 +01:00
libtremor Fix dangerous casts 2017-02-04 17:24:47 +01:00
libtta Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
libwavpack Limit more variables to file scope 2015-01-11 21:40:51 +01:00
libwma Fix race conditions in parallel build. 2016-05-28 17:41:32 +02:00
libwmapro Fix race conditions in parallel build. 2016-05-28 17:41:32 +02:00
libwmavoice Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
a52.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
a52_rm.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
aac.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
adx.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
aiff.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
aiff_enc.c Add missing #include statements. 2013-10-20 16:52:46 +02:00
alac.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
ape.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
asap.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
atrac3_oma.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
atrac3_rm.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
au.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
ay.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
codec_crt0.c Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
codecs.h Fix warnings from 6ed0087 2014-08-16 06:00:36 -04:00
codecs.make Fix DEBUG build codecs 2016-12-03 23:07:32 +01:00
cook.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
flac.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
gbs.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
hes.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
kss.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
mod.c Limit more variables to file scope 2015-01-11 21:40:51 +01:00
mp3_enc.c mp3_enc.c: fix MP3 recording at 32 kHz sample rate 2015-07-17 01:03:38 +02:00
mpa.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
mpc.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
nsf.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
opus.c Opus: update resume offset correctly while playing. 2016-09-07 19:44:37 +02:00
raac.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
sgc.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
shorten.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
sid.c Limit more variables to file scope 2015-01-11 21:40:51 +01:00
smaf.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
SOURCES Initial opus codec support 2012-09-20 20:47:44 +02:00
spc.c Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
speex.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
tta.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
vgm.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
vorbis.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
vox.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
wav.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
wav64.c Limit more variables to file scope 2015-01-11 21:40:51 +01:00
wav_enc.c Add missing #include statements. 2013-10-20 16:52:46 +02:00
wavpack.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
wavpack_enc.c Multithread compressing encoders on multicore targets. 2013-07-09 06:28:33 -04:00
wma.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
wmapro.c Fix warning in WMA Pro and remove a c++ comment. 2014-11-28 23:04:50 +01:00
wmavoice.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00