rockbox/lib/rbcodec/test
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
..
file.h Fix last warning for Warble 2014-08-30 01:50:22 -04:00
rbcodecconfig.h "Fix" warble build warnings 800bc000a0 2023-01-15 13:33:22 +00:00
rbcodecplatform.h Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
SOURCES Remove structec API from codecs 2023-10-01 12:10:41 +01:00
warble.c FS#13497: '0' is sometimes a valid track number 2025-12-06 09:20:32 -05:00
warble.make Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00