link_dpad(link).draw_slice(link, y, h);
}
-AVFilter *avfilter_get_by_name(char *name)
+AVFilter *avfilter_get_by_name(const char *name)
{
struct FilterList *filt;
static int pad_count(const AVFilterPad *pads)
{
- AVFilterPad *p = (AVFilterPad *) pads;
int count;
- for(count = 0; p->name; count ++) p ++;
+ for(count = 0; pads->name; count ++) pads ++;
return count;
}
return filter->filter->name;
}
-AVFilterContext *avfilter_open(AVFilter *filter, char *inst_name)
+AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name)
{
AVFilterContext *ret;