ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
212 stars 53 forks source link

Fix crash when assigning a new filter after playback is already finished #306

Closed lukasf closed 2 years ago

lukasf commented 2 years ago

While testing the loop filter for #304, I observed an access violation when assigning a new filter when file is already EOF. We send a NULL frame to enter draining mode, but because the filter is not yet initialized, it tries to initialize from NULL frame and crashes.