Remove unnecessary cast for void * pointer.
Unified · Split
| @@ -140,7 +140,7 @@ fail: · 139 unmodified lines | |||
| 140 | static int remap_planar##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \ | 140 | static int remap_planar##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \ |
| 141 | int jobnr, int nb_jobs) \ | 141 | int jobnr, int nb_jobs) \ |
| 142 | { \ | 142 | { \ |
| 143 | const ThreadData *td = (ThreadData*)arg; \ | 143 | const ThreadData *td = arg; \ |
| 144 | const AVFrame *in = td->in; \ | 144 | const AVFrame *in = td->in; \ |
| 145 | const AVFrame *xin = td->xin; \ | 145 | const AVFrame *xin = td->xin; \ |
| 146 | const AVFrame *yin = td->yin; \ | 146 | const AVFrame *yin = td->yin; \ |
| @@ -189,7 +189,7 @@ DEFINE_REMAP_PLANAR_FUNC(nearest, 16, 2) · 42 unmodified lines | |||
| 189 | static int remap_packed##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \ | 189 | static int remap_packed##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \ |
| 190 | int jobnr, int nb_jobs) \ | 190 | int jobnr, int nb_jobs) \ |
| 191 | { \ | 191 | { \ |
| 192 | const ThreadData *td = (ThreadData*)arg; \ | 192 | const ThreadData *td = arg; \ |
| 193 | const AVFrame *in = td->in; \ | 193 | const AVFrame *in = td->in; \ |
| 194 | const AVFrame *xin = td->xin; \ | 194 | const AVFrame *xin = td->xin; \ |
| 195 | const AVFrame *yin = td->yin; \ | 195 | const AVFrame *yin = td->yin; \ |