ReadFFMPEG: bug fix; check return value