You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixing Scale Mode (None) in previews (#182)
* Handle SCALE_NONE mode when optimized for previews (previews are often smaller than the project size) * Fixing 2 memory leaks (thanks PeterM)
This commit is contained in:
@@ -1973,6 +1973,7 @@ void FFmpegReader::RemoveAVFrame(AVFrame* remove_frame)
|
||||
{
|
||||
// Free memory
|
||||
av_freep(&remove_frame->data[0]);
|
||||
AV_FREE_FRAME(&remove_frame);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user