diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-10 18:04:27 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-10 18:04:27 +0000 |
commit | 30f4baebf8cac549d40c849aa31b530a63b967d1 (patch) | |
tree | 0a09cc12aa7434674651967c7290d4612926a946 /libavfilter | |
parent | 88cfb804184c9c2d47ddf88f5508a615fdb86ea3 (diff) | |
download | ffmpeg-30f4baebf8cac549d40c849aa31b530a63b967d1.tar.gz |
10l. parameter was unused and redundant.
Commited in SoC by Bobby Bingham
Originally committed as revision 11893 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/formats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c index 5846b9b275..021e18abe7 100644 --- a/libavfilter/formats.c +++ b/libavfilter/formats.c @@ -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)); |