Skip to content

Conversation

@hoolrory
Copy link
Contributor

Return to original exception throwing flow in mp4.cpp

Goes beyond what I did here: #82

Reverts this commit:
7104b13

And a smaller commit that undid some of that:
56cf37f

@hoolrory hoolrory changed the title Revert more Revert more of mp4file.cpp changes May 12, 2025
Copy link
Contributor

@KMojek KMojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment but 👍

src/mp4file.cpp Outdated
msg << "no such property - " << name;
throw new Exception( msg.str(), __FILE__, __LINE__, __FUNCTION__ );
log.errorf( "MP4File::FindIntegerProperty - %s", msg.str().c_str() );
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I think throwing was the original behavior here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this revert (Revert A) gets undone in the next revert (Revert B), it's a bit confusing here 😁 but if I only reverted that next commit (Revert B) there would have been a conflict with this commit

@hoolrory hoolrory merged commit 9d1ce83 into main May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants