Daniil Cherednik
0828a3b636
avcodec/atrac3: fix inconsistent band num calculation
...
'decode_spectrum' reads 5 bits from bitstream to get
number of encoded subbands – so 31 means all 32
subbands are encoded. This value also is used to
determinate the number of used band in the hybrid
filterbank.
'subband_tab' array contains 33 values of MDCT spec
line positions started from 0 line and used to map
subband number in to the range of mdct lines.
Since the subband_num returned by decode_spectrum
actually is number – 1 and subband_tab started from 0
we need to add 1 to make num_bands calculation correct.
2025-08-29 12:29:52 +00:00
..
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-08-04 08:01:24 +00:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:48 +02:00
2025-07-05 21:10:49 +02:00
2025-05-13 19:38:08 +01:00
2025-08-29 12:29:52 +00:00
2025-08-04 08:01:24 +00:00
2025-07-05 21:10:49 +02:00
2025-08-13 11:42:50 -03:00
2025-07-21 18:10:26 +02:00
2025-07-05 21:10:43 +02:00
2025-07-05 21:10:49 +02:00
2025-08-04 08:01:24 +00:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:44 +02:00
2025-07-05 21:10:49 +02:00
2025-08-03 13:48:47 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-30 19:33:30 +00:00
2025-07-05 21:10:48 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:43 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:48 +02:00
2025-08-13 11:36:22 -03:00
2025-07-05 21:10:48 +02:00
2025-08-05 11:47:11 +00:00
2025-06-24 14:41:43 -03:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-08-03 13:48:47 +02:00
2025-07-18 14:55:34 -03:00
2024-10-16 17:38:57 -03:00
2025-07-05 21:10:49 +02:00
2025-06-17 16:39:36 +10:00
2025-07-05 21:10:48 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-30 16:48:14 -03:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:47 +02:00
2025-07-05 21:10:49 +02:00
2025-03-30 08:24:39 +02:00
2025-07-05 21:10:48 +02:00
2025-04-30 00:03:00 +02:00
2025-04-30 00:03:00 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-05-16 20:43:58 +02:00
2025-07-05 21:10:49 +02:00
2025-05-21 03:10:52 +02:00
2025-07-05 21:10:49 +02:00
2025-07-03 19:42:28 +02:00
2025-07-05 21:10:50 +02:00
2025-07-05 21:10:49 +02:00
2025-08-03 13:48:47 +02:00
2025-08-11 23:14:35 +03:00
2025-07-05 21:10:48 +02:00
2025-08-04 08:01:24 +00:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:45 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-08-08 16:55:12 +00:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00
2025-07-05 21:10:49 +02:00