diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 1cb4cd679c..f5a2a90bb1 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -731,7 +731,7 @@ int ff_h264_get_slice_type(const H264SliceContext *sl); int ff_h264_alloc_tables(H264Context *h); int ff_h264_decode_ref_pic_list_reordering(H264Context *h, H264SliceContext *sl); -void ff_h264_fill_mbaff_ref_list(H264Context *h, H264SliceContext *sl); +void ff_h264_fill_mbaff_ref_list(H264SliceContext *sl); void ff_h264_remove_all_refs(H264Context *h); /** diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 6de532bd20..01eb9db234 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -401,7 +401,7 @@ int ff_h264_decode_ref_pic_list_reordering(H264Context *h, H264SliceContext *sl) return 0; } -void ff_h264_fill_mbaff_ref_list(H264Context *h, H264SliceContext *sl) +void ff_h264_fill_mbaff_ref_list(H264SliceContext *sl) { int list, i, j; for (list = 0; list < sl->list_count; list++) { diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 2ef3065e28..2640c22b7a 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -1680,7 +1680,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264SliceContext *sl) } if (FRAME_MBAFF(h)) { - ff_h264_fill_mbaff_ref_list(h, sl); + ff_h264_fill_mbaff_ref_list(sl); if (pps->weighted_bipred_idc == 2 && sl->slice_type_nos == AV_PICTURE_TYPE_B) { implicit_weight_table(h, sl, 0);