]> git.tuebingen.mpg.de Git - paraslash.git/commit
server: Don't save bogus chunk table for aac files.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 24 Jan 2023 22:13:55 +0000 (23:13 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 20 Feb 2023 12:48:05 +0000 (13:48 +0100)
commit82a64c65b1876da766fe7f7d418387868b111d09
tree44a505871be5613e6bbaae9bd58ba6c8acf7f1ad
parent53789fd79c330ca1dc1d84b5bc4ecee73cbe983f
server: Don't save bogus chunk table for aac files.

The audio file selector stores the chunk table of each audio file
as an osl disk object. Since the aac audio format handler employs
dynamic chunks, these on-disk chunk tables of aac files will never
be consulted for streaming. They exist only for consistency with the
other audio formats and should be empty.

Due to a mis-computation of the chunk table size in the callback of
the add command we happen to store the serialized lopsub parse result
as the chunk table.

This is a benign bug since it only affects the ls command, and only
if -l=c is given to print the chunk table.
aft.c