aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tree.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-11-14 19:15:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-11-14 19:15:09 +0000
commitb154ed5abe137a54715ddd15dcc658bf04b16557 (patch)
tree6b8dc655c7fcd89b701574e1889d6911913f25d9 /libavutil/tree.c
parentedabf3592610323b7f2cf1bf7c6881ce3b4aebc5 (diff)
downloadffmpeg-b154ed5abe137a54715ddd15dcc658bf04b16557.tar.gz
Fix indention after last commit.
Originally committed as revision 20538 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/tree.c')
-rw-r--r--libavutil/tree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/tree.c b/libavutil/tree.c
index 85ef629b98..4b78764628 100644
--- a/libavutil/tree.c
+++ b/libavutil/tree.c
@@ -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