1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fraps: Add release_buffer forgotten when reget_buffer was removed.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
Reimar Döffinger 2012-01-29 14:47:36 +01:00
parent 95e873bb14
commit f4e8292eb7

View File

@ -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->key_frame = 1;
f->reference = 0;