[FFmpeg-cvslog] avcodec/libopenh264enc: remove useless cast

Michael Niedermayer git at videolan.org
Thu Sep 10 13:23:25 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Sep 10 12:59:44 2015 +0200| [ec5b13fbe4b28fe46041d414854ed457147d3d8d] | committer: Michael Niedermayer

avcodec/libopenh264enc: remove useless cast

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec5b13fbe4b28fe46041d414854ed457147d3d8d
---

 libavcodec/libopenh264enc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
index 1977e40..feecdea 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)



More information about the ffmpeg-cvslog mailing list