ffserver: Fix an out of bounds read