diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 3a89fc655d..75d716538d 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -67,7 +67,7 @@ void avfilter_insert_pad(unsigned idx, unsigned *count, size_t padidx_off, (*count) ++; for(i = idx+1; i < *count; i ++) if(*links[i]) - (*(unsigned *)((uint8_t *)(*links[i]) + padidx_off)) ++; + (*(unsigned *)((uint8_t *) *links[i] + padidx_off)) ++; } int avfilter_link(AVFilterContext *src, unsigned srcpad,