I concur with your thoughts on this. If someone were to take my work and repackage it as their own and sell a product that is essentially just my work (or mostly just my work) without my permission is one thing but using a tiny fragment of my code in a movie to make things look a little more realistic is very different. They could have just got any bit of code and 99.99% of the audience would never know the difference. They was nothing special about this guys actual code, it just look good.