More than 10 years back, I watched a live-action movie on television where a brontosaurus kind of dinosaur is wounded in a cave with a man and a kid near it. The humans look civilized and it's definitely not from the Jurassic Park series.

All I remember is that dinosaur is wounded on its side and probably dies afterwards. It's from a Hollywood movie. This scene happens during the night. There's only one brontosaurus (or any harmless kind of dinosaur), injured and a 30-40 year old man and a kid beside it. They both are sad. It's in a cave like setting. Their clothes are normal ones as far as I remember

I have searched all over the internet and couldn't find anything related to it.