[FFmpeg-devel] Question: infinite loop in av_tree_destroy(..)

Stefano Sabatini stefano.sabatini-lala
Sat Jan 3 17:36:15 CET 2009


On date Saturday 2009-01-03 23:37:55 +0800, avcoder encoded:
> Dear:
> //@file:libavutil/tree.c
> void av_tree_destroy(AVTreeNode *t){
>     av_tree_destroy(t->child[0]);
>     av_tree_destroy(t->child[1]);
>     av_free(t);
> }
> 
> It seems that the codes is wrong!

Looks OK to me. Why do you think is wrong?

Regards.
-- 
FFmpeg = Frenzy and Friendly Meaningful Purposeless EnGraver




More information about the ffmpeg-devel mailing list