[FFmpeg-cvslog] fraps: Add release_buffer forgotten when reget_buffer was removed.
Reimar Döffinger
git at videolan.org
Sun Jan 29 14:48:55 CET 2012
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Jan 29 14:47:36 2012 +0100| [f4e8292eb7560730291172de14ced171b55638b6] | committer: Reimar Döffinger
fraps: Add release_buffer forgotten when reget_buffer was removed.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f4e8292eb7560730291172de14ced171b55638b6
---
libavcodec/fraps.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c
index 4ee9783..99387b5 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;
More information about the ffmpeg-cvslog
mailing list