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