avcodec/fraps: remove extra new lines and not needed cast

This commit is contained in:
Paul B Mahol 2023-09-11 22:01:08 +02:00
parent 8042f658f7
commit 8cd2e0c075
1 changed files with 1 additions and 4 deletions

View File

@ -56,7 +56,6 @@ typedef struct FrapsContext {
int tmpbuf_size;
} FrapsContext;
/**
* initializes decoder
* @param avctx codec context
@ -323,7 +322,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f,
return buf_size;
}
/**
* closes decoder
* @param avctx codec context
@ -331,13 +329,12 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f,
*/
static av_cold int decode_end(AVCodecContext *avctx)
{
FrapsContext *s = (FrapsContext*)avctx->priv_data;
FrapsContext *s = avctx->priv_data;
av_freep(&s->tmpbuf);
return 0;
}
const FFCodec ff_fraps_decoder = {
.p.name = "fraps",
CODEC_LONG_NAME("Fraps"),