mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/fraps: remove extra new lines and not needed cast
This commit is contained in:
parent
8042f658f7
commit
8cd2e0c075
|
@ -56,7 +56,6 @@ typedef struct FrapsContext {
|
||||||
int tmpbuf_size;
|
int tmpbuf_size;
|
||||||
} FrapsContext;
|
} FrapsContext;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* initializes decoder
|
* initializes decoder
|
||||||
* @param avctx codec context
|
* @param avctx codec context
|
||||||
|
@ -323,7 +322,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f,
|
||||||
return buf_size;
|
return buf_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* closes decoder
|
* closes decoder
|
||||||
* @param avctx codec context
|
* @param avctx codec context
|
||||||
|
@ -331,13 +329,12 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f,
|
||||||
*/
|
*/
|
||||||
static av_cold int decode_end(AVCodecContext *avctx)
|
static av_cold int decode_end(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
FrapsContext *s = (FrapsContext*)avctx->priv_data;
|
FrapsContext *s = avctx->priv_data;
|
||||||
|
|
||||||
av_freep(&s->tmpbuf);
|
av_freep(&s->tmpbuf);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const FFCodec ff_fraps_decoder = {
|
const FFCodec ff_fraps_decoder = {
|
||||||
.p.name = "fraps",
|
.p.name = "fraps",
|
||||||
CODEC_LONG_NAME("Fraps"),
|
CODEC_LONG_NAME("Fraps"),
|
||||||
|
|
Loading…
Reference in New Issue