]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
vss: Handle empty chunk groups gracefully.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 20 Sep 2021 17:15:12 +0000 (19:15 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 29 Sep 2021 17:03:37 +0000 (19:03 +0200)
The assertion in compute_group_size() triggers if the stream is
positioned right at the end of the file when the next chunk group
starts. This was observed with an mp3 file and the udp sender when
pausing and restarting the stream at the end of the file.

Fix this braino by returning EOF instead of aborting if the next
chunk group happens to be empty.


No differences found