mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fraps: Minor simplification, use local variable.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
371946bc27
commit
3469c88804
@ -181,8 +181,8 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->frame.data[0])
|
if (f->data[0])
|
||||||
avctx->release_buffer(avctx, &s->frame);
|
avctx->release_buffer(avctx, f);
|
||||||
f->pict_type = AV_PICTURE_TYPE_I;
|
f->pict_type = AV_PICTURE_TYPE_I;
|
||||||
f->key_frame = 1;
|
f->key_frame = 1;
|
||||||
f->reference = 0;
|
f->reference = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user