Commit f4e8292e authored by Reimar Döffinger's avatar Reimar Döffinger

fraps: Add release_buffer forgotten when reget_buffer was removed.

Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent 95e873bb
...@@ -180,6 +180,8 @@ static int decode_frame(AVCodecContext *avctx, ...@@ -180,6 +180,8 @@ static int decode_frame(AVCodecContext *avctx,
} }
} }
if (s->frame.data[0])
avctx->release_buffer(avctx, &s->frame);
f->pict_type = AV_PICTURE_TYPE_I; f->pict_type = AV_PICTURE_TYPE_I;
f->key_frame = 1; f->key_frame = 1;
f->reference = 0; f->reference = 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