use av_freep() in free_vlc() and failed init_vlc()