diff --git a/vp9/common/vp9_loopfilter.c b/vp9/common/vp9_loopfilter.c index 3b39d4274b10ca56fff1965cb41314039fcd8940..a6862e49aff5c62b273e0027408f2d7cdb823e7e 100644 --- a/vp9/common/vp9_loopfilter.c +++ b/vp9/common/vp9_loopfilter.c @@ -1247,9 +1247,8 @@ void vp9_loop_filter_frame(YV12_BUFFER_CONFIG *frame, y_only); } -int vp9_loop_filter_worker(void *arg1, void *arg2) { - LFWorkerData *const lf_data = (LFWorkerData*)arg1; - (void)arg2; +int vp9_loop_filter_worker(LFWorkerData *const lf_data, void *unused) { + (void)unused; vp9_loop_filter_rows(lf_data->frame_buffer, lf_data->cm, lf_data->planes, lf_data->start, lf_data->stop, lf_data->y_only); return 1; diff --git a/vp9/common/vp9_loopfilter.h b/vp9/common/vp9_loopfilter.h index 6fa2773e594ce4e86c44db123a9cbbc0546245f9..0f3838bc7d65b2ee9ec51623835295308426cb53 100644 --- a/vp9/common/vp9_loopfilter.h +++ b/vp9/common/vp9_loopfilter.h @@ -129,8 +129,8 @@ typedef struct LoopFilterWorkerData { int num_lf_workers; } LFWorkerData; -// Operates on the rows described by LFWorkerData passed as 'arg1'. -int vp9_loop_filter_worker(void *arg1, void *arg2); +// Operates on the rows described by 'lf_data'. +int vp9_loop_filter_worker(LFWorkerData *const lf_data, void *unused); #ifdef __cplusplus } // extern "C" #endif