mpegts input: fix possible NULL dereference (fix for the last patch)