[FFmpeg-soc] [soc]: r1629 - libavfilter/formats.c

koorogi subversion at mplayerhq.hu
Fri Dec 21 00:30:39 CET 2007


Author: koorogi
Date: Fri Dec 21 00:30:39 2007
New Revision: 1629

Log:
10l. parameter was unused and redundant.


Modified:
   libavfilter/formats.c

Modified: libavfilter/formats.c
==============================================================================
--- libavfilter/formats.c	(original)
+++ libavfilter/formats.c	Fri Dec 21 00:30:39 2007
@@ -109,7 +109,7 @@ void avfilter_formats_ref(AVFilterFormat
     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(AVFilterForm
 {
     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));
 



More information about the FFmpeg-soc mailing list