lavfi/remap: remove unnecessary cast for void *

Remove unnecessary cast for void * pointer.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
Jun Zhao 2019-10-09 22:14:00 +08:00
parent a0e03589d4
commit cc52815b82
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ fail:
static int remap_planar##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \ static int remap_planar##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \
int jobnr, int nb_jobs) \ int jobnr, int nb_jobs) \
{ \ { \
const ThreadData *td = (ThreadData*)arg; \ const ThreadData *td = arg; \
const AVFrame *in = td->in; \ const AVFrame *in = td->in; \
const AVFrame *xin = td->xin; \ const AVFrame *xin = td->xin; \
const AVFrame *yin = td->yin; \ const AVFrame *yin = td->yin; \
@ -189,7 +189,7 @@ DEFINE_REMAP_PLANAR_FUNC(nearest, 16, 2)
static int remap_packed##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \ static int remap_packed##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \
int jobnr, int nb_jobs) \ int jobnr, int nb_jobs) \
{ \ { \
const ThreadData *td = (ThreadData*)arg; \ const ThreadData *td = arg; \
const AVFrame *in = td->in; \ const AVFrame *in = td->in; \
const AVFrame *xin = td->xin; \ const AVFrame *xin = td->xin; \
const AVFrame *yin = td->yin; \ const AVFrame *yin = td->yin; \