Fix: Prevent small memory leak in VSE indexer
We need to unref the packet to tell ffmpeg it is ok to free it after use.
This commit is contained in:
parent
8bd09b1d77
commit
307f8c8e76
Notes:
blender-bot
2023-02-14 02:45:41 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
|
@ -1026,6 +1026,7 @@ static int index_rebuild_ffmpeg(FFmpegIndexBuilderContext *context,
|
|||
index_rebuild_ffmpeg_proc_decoded_frame(context, next_packet, in_frame);
|
||||
}
|
||||
}
|
||||
av_packet_unref(next_packet);
|
||||
}
|
||||
|
||||
/* process pictures still stuck in decoder engine after EOF
|
||||
|
|
Loading…
Reference in New Issue