rockbox/lib/rbcodec
Solomon Peachy e94a96cdcf FS#13497: '0' is sometimes a valid track number
Most notably for CD rips that use a track number of 0 for
the leadin.

Therefore change our "invalid track number" canary to -1 instead
of 0.  Additionally don't try to parse an empty string.

In the process, get rid of redudant 'discnum = 0' as well.

NOTE: While not strictly necessary, we recommend rebuilding the
      database to ensure files without track numbers are
      updated with the new canary.

Change-Id: I543f98ca49cec7b5eeffa7c14c1eca57171f345a
2025-12-06 09:20:32 -05:00
..
codecs arm: Profile/variation detection improvements 2025-12-04 20:43:30 -05:00
dsp usbaudio: send through dsp (new) 2025-11-15 07:38:19 -05:00
metadata FS#13497: '0' is sometimes a valid track number 2025-12-06 09:20:32 -05:00
test FS#13497: '0' is sometimes a valid track number 2025-12-06 09:20:32 -05:00
platform.h rbcodec dsp: Move dsp_sample_io_configure() to its own file 2022-12-22 17:20:14 -05:00
rbcodec.make rbcodec: Force use of -O2 for dsp code 2025-09-06 08:44:32 -04:00
rbcodecconfig-example.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
rbcodecplatform-unix.h libc: Add an implementation of strtol/strtoul and export it via plugins 2025-12-06 09:04:36 -05:00
SOURCES rbcodec dsp: Move dsp_sample_io_configure() to its own file 2022-12-22 17:20:14 -05:00