summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-04-11 10:06:08 +0200
committerAnton Khirnov <anton@khirnov.net>2016-04-24 10:06:24 +0200
commit89ae244e78a8d636fbb8427a2da052b04cf710bd (patch)
treeeacd1d5b9f0044671b1a6eda197d85537a89ec59 /libavcodec
parent755f79f84cbeb5d749fb120e55e0098a2d7663a0 (diff)
h264_refs: remove an unused parameter from ff_h264_fill_mbaff_ref_list()
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.h2
-rw-r--r--libavcodec/h264_refs.c2
-rw-r--r--libavcodec/h264_slice.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 580c821c23..f551d79209 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -687,7 +687,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(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);
/**
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index 395c240387..855248781a 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -352,7 +352,7 @@ int ff_h264_decode_ref_pic_list_reordering(const H264Context *h, H264SliceContex
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++) { //FIXME try list_count
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 8f921645d1..1251ff576f 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -1421,7 +1421,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);