[FFmpeg-cvslog] r20538 - trunk/libavutil/tree.c

michael subversion
Sat Nov 14 20:15:10 CET 2009


Author: michael
Date: Sat Nov 14 20:15:09 2009
New Revision: 20538

Log:
Fix indention after last commit.

Modified:
   trunk/libavutil/tree.c

Modified: trunk/libavutil/tree.c
==============================================================================
--- trunk/libavutil/tree.c	Sat Nov 14 20:14:14 2009	(r20537)
+++ trunk/libavutil/tree.c	Sat Nov 14 20:15:09 2009	(r20538)
@@ -138,10 +138,10 @@ void av_tree_destroy(AVTreeNode *t){
 #if 0
 void av_tree_enumerate(AVTreeNode *t, void *opaque, int (*cmp)(void *opaque, void *elem), int (*enu)(void *opaque, void *elem)){
     if(t){
-    int v= cmp ? cmp(opaque, t->elem) : 0;
-    if(v>=0) av_tree_enumerate(t->child[0], opaque, cmp, enu);
-    if(v==0) enu(opaque, t->elem);
-    if(v<=0) av_tree_enumerate(t->child[1], opaque, cmp, enu);
+        int v= cmp ? cmp(opaque, t->elem) : 0;
+        if(v>=0) av_tree_enumerate(t->child[0], opaque, cmp, enu);
+        if(v==0) enu(opaque, t->elem);
+        if(v<=0) av_tree_enumerate(t->child[1], opaque, cmp, enu);
     }
 }
 #endif



More information about the ffmpeg-cvslog mailing list