From 4fdea02d688cbe9a66db684b178180367cd5eb1b Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 20 Jun 2016 10:28:17 +0200 Subject: lavc/h264: add a logging ctx to ff_h264_pred_weight_table() --- libavcodec/h264_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h264_parser.c') diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 1f871fdf95..7dde3d54f7 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -198,7 +198,7 @@ static int scan_mmco_reset(AVCodecParserContext *s, GetBitContext *gb, if ((p->ps.pps->weighted_pred && slice_type_nos == AV_PICTURE_TYPE_P) || (p->ps.pps->weighted_bipred_idc == 1 && slice_type_nos == AV_PICTURE_TYPE_B)) ff_h264_pred_weight_table(gb, p->ps.sps, ref_count, slice_type_nos, - &pwt); + &pwt, avctx); if (get_bits1(gb)) { // adaptive_ref_pic_marking_mode_flag int i; -- cgit v1.2.3