libav: Skip invalid CTTS

Fixes #1496