fraps: Minor simplification, use local variable.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
Reimar Döffinger 2012-01-29 14:50:58 +01:00
parent 371946bc27
commit 3469c88804
1 changed files with 2 additions and 2 deletions

View File

@ -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;