1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

10l. parameter was unused and redundant.

Commited in SoC by Bobby Bingham

Originally committed as revision 11893 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-02-10 18:04:27 +00:00
parent 88cfb80418
commit 30f4baebf8

View File

@ -109,7 +109,7 @@ void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref)
f->refs[f->refcount-1] = 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; int i;
for(i = 0; i < (*ref)->refcount; i ++) for(i = 0; i < (*ref)->refcount; i ++)
@ -122,7 +122,7 @@ void avfilter_formats_unref(AVFilterFormats **ref)
{ {
int idx; 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, memmove((*ref)->refs + idx, (*ref)->refs + idx+1,
sizeof(AVFilterFormats**) * ((*ref)->refcount-idx-1)); sizeof(AVFilterFormats**) * ((*ref)->refcount-idx-1));