meh / rust-ffmpeg

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

fix: get scaling context && align error #116

Open xinghun92 opened 6 years ago

xinghun92 commented 6 years ago
YaLTeR commented 6 years ago

Same ptr::is_null() => !ptr::is_null() should be applied for the resampling part too: https://github.com/meh/rust-ffmpeg/blob/0bcd4550b85580d02599d84b312251d930d1802f/src/software/resampling/context.rs#L58

barzamin commented 6 years ago

These is_null checks were fixed in dc6ace91ec73b14953b4157af2b1c4c2156c5354.