Sometimes comparison and contrast of two related works can lead you straight into a good thesis. That's a good thesis. Ditto if you were to compare and contrast, say, Shakespeare's Romeo and Juliet with Arthur Brooke's Romeus and Juliet , the source from which Shakespeare filched his plot. Doing that might let you see what Shakespeare was doing in reworking his source material. Comparing a work with something that came significantly after it is less promising.
Many movies come from books.
If you're in a film class, comparing the movie to the book might tell us something about the writer's or the director's decisions. But in a lit class, it's less likely to be interesting. Yes, the movie of The Scarlet Letter differs in all sorts of ways from Hawthorne's novel. Probably not all that much. Unless you want to suggest there's some connection between the two, it's pointless to lay out their similarities and differences.