radek-k / FFMediaToolkit

FFMediaToolkit is a cross-platform video decoder/encoder library for .NET that uses FFmpeg native libraries. It supports video frames extraction, reading stream metadata and creating videos from bitmaps in any format supported by FFmpeg.
MIT License
353 stars 56 forks source link

Fix crash when disposing ffmpeg stuff #17

Closed Claytonious closed 4 years ago

Claytonious commented 4 years ago

Fix for https://github.com/radek-k/FFMediaToolkit/issues/15.

Claytonious commented 4 years ago

This is not a good fix - this leaks because and only fixes the crash because it causes Wrapper's Pointer to be null prematurely, so nothing gets released.