[FFmpeg-cvslog] fraps: Minor simplification, use local variable.
Reimar Döffinger
git at videolan.org
Sun Jan 29 21:53:28 CET 2012
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Jan 29 14:50:58 2012 +0100| [3469c8880453f9020cec6e18247f71d680588bd7] | committer: Reimar Döffinger
fraps: Minor simplification, use local variable.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3469c8880453f9020cec6e18247f71d680588bd7
---
libavcodec/fraps.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c
index 27df547..bfbf47a 100644
--- a/libavcodec/fraps.c
+++ b/libavcodec/fraps.c
@@ -181,8 +181,8 @@ static int decode_frame(AVCodecContext *avctx,
}
}
- if (s->frame.data[0])
- avctx->release_buffer(avctx, &s->frame);
+ if (f->data[0])
+ avctx->release_buffer(avctx, f);
f->pict_type = AV_PICTURE_TYPE_I;
f->key_frame = 1;
f->reference = 0;
More information about the ffmpeg-cvslog
mailing list