Skip to content

Commit

Permalink
avcodec/libopenh264enc: remove useless cast
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed Sep 10, 2015
1 parent e8c45b9 commit ec5b13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcodec/libopenh264enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ec5b13f

Please sign in to comment.