[FFmpeg-cvslog] r11893 - trunk/libavfilter/formats.c

vitor subversion
Sun Feb 10 19:04:27 CET 2008


Author: vitor
Date: Sun Feb 10 19:04:27 2008
New Revision: 11893

Log:
10l. parameter was unused and redundant.



Modified:
   trunk/libavfilter/formats.c

Modified: trunk/libavfilter/formats.c
==============================================================================
--- trunk/libavfilter/formats.c	(original)
+++ trunk/libavfilter/formats.c	Sun Feb 10 19:04:27 2008
@@ -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-cvslog mailing list