angelcam / rust-ac-ffmpeg

Simple and safe Rust interface for FFmpeg libraries.
MIT License
197 stars 33 forks source link

Fix includes for new FFMPEG versions (5.1.2) #45

Closed Bobo1239 closed 2 years ago

Bobo1239 commented 2 years ago

Not sure which FFMPEG version made these necessary but shouldn't cause any issue with older versions. Especially the first commit is important to prevent a segfault when using this crate. (see commit message)

operutka commented 2 years ago

Perfect! Thank you for the PR.