mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +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:
parent
95e873bb14
commit
f4e8292eb7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user