Propagate parsing errors to the callers
Check dts framesize for validity