[FFmpeg-cvslog] h264_mb: remove an unused function parameter

Anton Khirnov git at videolan.org
Sat Mar 21 21:51:05 CET 2015


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Jan 28 19:49:50 2015 +0100| [94295106d20b32666a8c4e0d028ef79b9d3f3b7a] | committer: Anton Khirnov

h264_mb: remove an unused function parameter

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=94295106d20b32666a8c4e0d028ef79b9d3f3b7a
---

 libavcodec/h264_mb.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c
index 2eaf55a..832ba90 100644
--- a/libavcodec/h264_mb.c
+++ b/libavcodec/h264_mb.c
@@ -37,8 +37,7 @@
 #include "thread.h"
 
 static inline int get_lowest_part_list_y(H264SliceContext *sl,
-                                         H264Picture *pic, int n,
-                                         int height, int y_offset, int list)
+                                         int n, int height, int y_offset, int list)
 {
     int raw_my             = sl->mv_cache[list][scan8[n]][1];
     int filter_height_up   = (raw_my & 3) ? 2 : 0;
@@ -68,7 +67,7 @@ static inline void get_lowest_part_y(const H264Context *h, H264SliceContext *sl,
         // Fields can wait on each other, though.
         if (ref->tf.progress->data != h->cur_pic.tf.progress->data ||
             (ref->reference & 3) != h->picture_structure) {
-            my = get_lowest_part_list_y(sl, ref, n, height, y_offset, 0);
+            my = get_lowest_part_list_y(sl, n, height, y_offset, 0);
             if (refs[0][ref_n] < 0)
                 nrefs[0] += 1;
             refs[0][ref_n] = FFMAX(refs[0][ref_n], my);
@@ -81,7 +80,7 @@ static inline void get_lowest_part_y(const H264Context *h, H264SliceContext *sl,
 
         if (ref->tf.progress->data != h->cur_pic.tf.progress->data ||
             (ref->reference & 3) != h->picture_structure) {
-            my = get_lowest_part_list_y(sl, ref, n, height, y_offset, 1);
+            my = get_lowest_part_list_y(sl, n, height, y_offset, 1);
             if (refs[1][ref_n] < 0)
                 nrefs[1] += 1;
             refs[1][ref_n] = FFMAX(refs[1][ref_n], my);



More information about the ffmpeg-cvslog mailing list