lavf/mpegts: Do not return the result of a (void) function from a void function.

Fixes compilation with Sun C 5.10.