diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-01-29 14:47:36 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-01-29 14:48:36 +0100 |
commit | f4e8292eb7560730291172de14ced171b55638b6 (patch) | |
tree | 159d11d3b110cec9f721ac17b1159c77c97bc0ec /libavcodec | |
parent | 95e873bb14cc7a55d2b1c98c591bc2fb8d5d48d1 (diff) | |
download | ffmpeg-f4e8292eb7560730291172de14ced171b55638b6.tar.gz |
fraps: Add release_buffer forgotten when reget_buffer was removed.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/fraps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index 4ee97835a1..99387b5eed 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -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; |