From ec5b13fbe4b28fe46041d414854ed457147d3d8d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 10 Sep 2015 12:59:44 +0200 Subject: [PATCH] avcodec/libopenh264enc: remove useless cast Signed-off-by: Michael Niedermayer --- libavcodec/libopenh264enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c index 1977e403db..feecdea7fc 100644 --- a/libavcodec/libopenh264enc.c +++ b/libavcodec/libopenh264enc.c @@ -122,7 +122,7 @@ static void libopenh264_trace_callback ( // log level "level" is greater than the current libopenh264 log level. int equiv_ffmpeg_log_level = libopenh264_to_ffmpeg_log_level(level); if ( equiv_ffmpeg_log_level <= av_log_get_level() ) - av_log((AVCodecContext *) ctx, equiv_ffmpeg_log_level, "%s\n", msg); + av_log(ctx, equiv_ffmpeg_log_level, "%s\n", msg); } static av_cold int svc_encode_close(AVCodecContext *avctx)