aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/fraps.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-29 14:50:58 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-29 21:52:54 +0100
commit3469c8880453f9020cec6e18247f71d680588bd7 (patch)
treef0de879d727b84aa7d3d1c1560b10bf5cfa129ad /libavcodec/fraps.c
parent371946bc27bd1e874e0302699550ab9926249950 (diff)
downloadffmpeg-3469c8880453f9020cec6e18247f71d680588bd7.tar.gz
fraps: Minor simplification, use local variable.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/fraps.c')
-rw-r--r--libavcodec/fraps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c
index 27df547504..bfbf47a220 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;