Commit 89ae244e authored by Anton Khirnov's avatar Anton Khirnov

h264_refs: remove an unused parameter from ff_h264_fill_mbaff_ref_list()

parent 755f79f8
...@@ -687,7 +687,7 @@ int ff_h264_get_slice_type(const H264SliceContext *sl); ...@@ -687,7 +687,7 @@ int ff_h264_get_slice_type(const H264SliceContext *sl);
int ff_h264_alloc_tables(H264Context *h); int ff_h264_alloc_tables(H264Context *h);
int ff_h264_decode_ref_pic_list_reordering(const H264Context *h, H264SliceContext *sl); int ff_h264_decode_ref_pic_list_reordering(const 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); void ff_h264_remove_all_refs(H264Context *h);
/** /**
......
...@@ -352,7 +352,7 @@ int ff_h264_decode_ref_pic_list_reordering(const H264Context *h, H264SliceContex ...@@ -352,7 +352,7 @@ int ff_h264_decode_ref_pic_list_reordering(const H264Context *h, H264SliceContex
return 0; 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; int list, i, j;
for (list = 0; list < sl->list_count; list++) { //FIXME try list_count for (list = 0; list < sl->list_count; list++) { //FIXME try list_count
......
...@@ -1421,7 +1421,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264SliceContext *sl) ...@@ -1421,7 +1421,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264SliceContext *sl)
} }
if (FRAME_MBAFF(h)) { 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) { if (pps->weighted_bipred_idc == 2 && sl->slice_type_nos == AV_PICTURE_TYPE_B) {
implicit_weight_table(h, sl, 0); implicit_weight_table(h, sl, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment