(Hevc/md5) : Quit when there is an error