Commited in SoC by Bobby Bingham
Originally committed as revision 11893 to svn://svn.ffmpeg.org/ffmpeg/trunk
f->refs[f->refcount-1] = ref;
}
-static int find_ref_index(AVFilterFormats *f, AVFilterFormats **ref)
+static int find_ref_index(AVFilterFormats **ref)
{
int i;
for(i = 0; i < (*ref)->refcount; i ++)
{
int idx;
- if((idx = find_ref_index(*ref, ref)) >= 0)
+ if((idx = find_ref_index(ref)) >= 0)
memmove((*ref)->refs + idx, (*ref)->refs + idx+1,
sizeof(AVFilterFormats**) * ((*ref)->refcount-idx-1));