You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
svq1: use av_frame_free to free refcounted frame
Fixes a memleak due to avcodec_free_frame not freeing the frame data.
This commit is contained in:
@@ -793,7 +793,7 @@ static av_cold int svq1_decode_end(AVCodecContext *avctx)
|
|||||||
{
|
{
|
||||||
SVQ1Context *s = avctx->priv_data;
|
SVQ1Context *s = avctx->priv_data;
|
||||||
|
|
||||||
avcodec_free_frame(&s->prev);
|
av_frame_free(&s->prev);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user