meh / rust-ffmpeg

Safe FFmpeg wrapper.
Do What The F*ck You Want To Public License
461 stars 96 forks source link

fix(format): skip `avio_open` when format has `AVFMT_NOFILE` #180

Closed encounter closed 10 months ago

encounter commented 1 year ago

Avoids creating empty files for parameterized output paths and similar. (e.g. output_%v.m3u8 for HLS)

tilpner commented 1 year ago

Good catch, thanks for the PR :)

encounter commented 1 year ago

Adjusted to resolve the dictionary leaks, thanks! I'm going to submit a follow-up PR to clean up the Dictionary disown/own uses further.