-
-
Notifications
You must be signed in to change notification settings - Fork 346
Open
Description
I'm submitting a bug report.
-
Do you want to request a feature or report a bug?
This could be a bug with ffmpeg, but seems to be a failure with the managed/native callbacks. Our code worked under ffmpeg 4.3, and broke in 5.0. I checked again and it's still broken in ffmpeg6. I will work on a repro example, but wanted to get this filed. -
What is the current behavior?
- Custom
AVIOContextfails to open for reading a file. - The Read callback executes once, but then an
AccessViolationExceptionis thrown.
-
*If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem:
-
What is the expected behavior?
Reading a file with a custom IO context should work. (Interestingly, it does work for writing a file) -
Please tell us about your environment:
- version: ffmpeg6, Windows 11, .NET6.0 WPF application.