]> git.sesse.net Git - ffmpeg/commitdiff
h264_refs: remove an unused parameter from ff_h264_fill_mbaff_ref_list()
authorAnton Khirnov <anton@khirnov.net>
Mon, 11 Apr 2016 08:06:08 +0000 (10:06 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 24 Apr 2016 08:06:24 +0000 (10:06 +0200)
libavcodec/h264.h
libavcodec/h264_refs.c
libavcodec/h264_slice.c

index 580c821c23b1fcb340b1a5cfba136a16c7f6ae4c..f551d79209a56456e9247048336bcf062019662e 100644 (file)
@@ -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);
 
 /**
index 395c24038718019d301727b1f08356ec15fa71f9..855248781af7fc1c4f43cefaff02b46e840dcb80 100644 (file)
@@ -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
index 8f921645d1cf192012d471c637cc721fca71a737..1251ff576f40dfe25e28d0d460f1c593eacece37 100644 (file)
@@ -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);