Commit 1cb512c4 authored by vitor's avatar vitor

10l. parameter was unused and redundant.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11893 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 99cda8af
......@@ -109,7 +109,7 @@ void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref)
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 ++)
......@@ -122,7 +122,7 @@ void avfilter_formats_unref(AVFilterFormats **ref)
{
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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment