libxvid: cleanup on error pathes