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:
parent
669cc0f364
commit
e3232f3431
@ -793,7 +793,7 @@ static av_cold int svq1_decode_end(AVCodecContext *avctx)
|
||||
{
|
||||
SVQ1Context *s = avctx->priv_data;
|
||||
|
||||
avcodec_free_frame(&s->prev);
|
||||
av_frame_free(&s->prev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user