ffmpeg | branch: master | Paul B Mahol <[email protected]> | Mon Sep 11 22:01:08 2023 +0200| [8cd2e0c075d80f2f794d48a9e36ffa1fb02bffd3] | committer: Paul B Mahol
avcodec/fraps: remove extra new lines and not needed cast > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8cd2e0c075d80f2f794d48a9e36ffa1fb02bffd3 --- libavcodec/fraps.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index b410646646..bed244e4e9 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -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"), _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
