[FFmpeg-devel] [PATCH v2] avformat/libopenmpt: implement file reading callbacks

2025-09-04 Thread Paper via ffmpeg-devel
Before, this code would unnecessarily waste quite a bit of memory reading the entire file in, and in many cases just freeing the result and throwing it out anyway. This commit changes the behavior to use libopenmpt's callback structure. This is much more memory efficient, especially for particular

[FFmpeg-devel] [PATCH] avformat/libopenmpt: implement file reading callbacks

2025-09-04 Thread Paper via ffmpeg-devel
Before, this code would unnecessarily waste quite a bit of memory reading the entire file in, and in many cases just freeing the result and throwing it out anyway. This commit changes the behavior to use libopenmpt's callback structure. This is much more memory efficient, especially for particular