Commit e3232f34 authored by Janne Grunau's avatar Janne Grunau

svq1: use av_frame_free to free refcounted frame

Fixes a memleak due to avcodec_free_frame not freeing the frame data.
parent 669cc0f3
...@@ -793,7 +793,7 @@ static av_cold int svq1_decode_end(AVCodecContext *avctx) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment