Skip to content
Snippets Groups Projects
Commit 5d1e3d22 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Print removing of nodes in the test code.

Originally committed as revision 11534 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3f161c7e
No related branches found
No related tags found
No related merge requests found
...@@ -173,6 +173,7 @@ int main(void){ ...@@ -173,6 +173,7 @@ int main(void){
k= av_tree_find(root, (void*)(j+1), cmp, NULL); k= av_tree_find(root, (void*)(j+1), cmp, NULL);
if(k){ if(k){
AVTreeNode *node2=NULL; AVTreeNode *node2=NULL;
av_log(NULL, AV_LOG_ERROR, "removing %4d\n", j);
av_tree_insert(&root, (void*)(j+1), cmp, &node2); av_tree_insert(&root, (void*)(j+1), cmp, &node2);
k= av_tree_find(root, (void*)(j+1), cmp, NULL); k= av_tree_find(root, (void*)(j+1), cmp, NULL);
if(k) if(k)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment