Silencedetector test broken
Steps to reproduce
This patch fixes an issue with the silencedetector tests which would set
an incorrect track length, causing the tests to break when the end of a
silent part is correctly detected at the end of a file. This happens for
repeatedly with the new FFmpeg 4.0 version.